Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000921/0.000921, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0011/0.002021, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006955/0.0006955, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009356/0.001631, allocations: 479.5 kB / 11.83 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9817/0.9817, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08928/1.071, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 244.7 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.088e-05/2.249e-05, allocations: 9.828 kB / 244.7 MB, free: 14.2 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature): time 0.007571/0.007593, allocations: 7.884 MB / 252.6 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004384/0.01198, allocations: 2.691 MB / 255.3 MB, free: 3.566 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008644/0.01284, allocations: 27.88 kB / 255.3 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.01408, allocations: 0.4929 MB / 255.8 MB, free: 3.043 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001066/0.01515, allocations: 452.4 kB / 256.3 MB, free: 2.598 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004983/0.01565, allocations: 219.5 kB / 256.5 MB, free: 2.383 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00146/0.01711, allocations: 1.292 MB / 257.8 MB, free: 1.086 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.0177, allocations: 362.4 kB / 258.1 MB, free: 0.707 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001247/0.01895, allocations: 0.8447 MB / 259 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005942/0.01954, allocations: 414.7 kB / 259.4 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004074/0.01995, allocations: 116 kB / 259.5 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003386/0.02029, allocations: 156 kB / 259.6 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.02042, allocations: 179.4 kB / 259.8 MB, free: 15.01 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003195/0.02074, allocations: 339.4 kB / 260.1 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009906/0.02173, allocations: 0.7627 MB / 260.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.02174, allocations: 3.938 kB / 260.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.02175, allocations: 0 / 260.9 MB, free: 13.91 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.289e-05/0.02177, allocations: 0 / 260.9 MB, free: 13.91 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001817/0.02359, allocations: 1.422 MB / 262.3 MB, free: 12.46 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.02362, allocations: 8.031 kB / 262.3 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005865/0.02421, allocations: 289.8 kB / 262.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/0.02492, allocations: 456.5 kB / 263.1 MB, free: 11.67 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.02497, allocations: 66.38 kB / 263.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/0.02508, allocations: 96.31 kB / 263.2 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007784/0.02585, allocations: 0.6421 MB / 263.9 MB, free: 10.83 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.02588, allocations: 4 kB / 263.9 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.694e-05/0.02593, allocations: 36 kB / 263.9 MB, free: 10.79 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.02595, allocations: 24 kB / 263.9 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003366/0.02628, allocations: 217.8 kB / 264.1 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003117/0.0294, allocations: 2.614 MB / 266.8 MB, free: 7.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002584/0.02966, allocations: 137.2 kB / 266.9 MB, free: 7.629 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.888e-05/0.02973, allocations: 48.83 kB / 266.9 MB, free: 7.578 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.02975, allocations: 4 kB / 266.9 MB, free: 7.574 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.02978, allocations: 34.5 kB / 267 MB, free: 7.531 MB / 266.7 MB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/0.02979, allocations: 4 kB / 267 MB, free: 7.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001025/0.03081, allocations: 0.5615 MB / 267.5 MB, free: 6.934 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.458e-05/0.03084, allocations: 55.41 kB / 267.6 MB, free: 6.867 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005258/0.03136, allocations: 0.6028 MB / 268.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.03138, allocations: 33.7 kB / 268.2 MB, free: 6.211 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002224/0.0316, allocations: 488.2 kB / 268.7 MB, free: 5.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.452e-05/0.03167, allocations: 107.1 kB / 268.8 MB, free: 5.625 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001221/0.03179, allocations: 126.2 kB / 268.9 MB, free: 5.496 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.03191, allocations: 382.6 kB / 269.3 MB, free: 5.113 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.055e-05/0.03198, allocations: 49.28 kB / 269.4 MB, free: 5.062 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002526/0.03223, allocations: 400.2 kB / 269.7 MB, free: 4.516 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004311/0.03266, allocations: 0.5132 MB / 270.3 MB, free: 3.852 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.03267, allocations: 4 kB / 270.3 MB, free: 3.848 MB / 266.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.000529/0.03319, allocations: 421.8 kB / 270.7 MB, free: 3.426 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.996e-05/0.03321, allocations: 12 kB / 270.7 MB, free: 3.414 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.03323, allocations: 16.88 kB / 270.7 MB, free: 3.398 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001096/0.03334, allocations: 40.77 kB / 270.7 MB, free: 3.355 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.03373, allocations: 171.7 kB / 270.9 MB, free: 3.188 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006983/0.03443, allocations: 1.174 MB / 272.1 MB, free: 1.922 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003165/0.03474, allocations: 36.06 kB / 272.1 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.03477, allocations: 28 kB / 272.1 MB, free: 1.859 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.03494, allocations: 157.5 kB / 272.3 MB, free: 1.695 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.03502, allocations: 51.94 kB / 272.4 MB, free: 1.645 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002674/0.03529, allocations: 197.2 kB / 272.5 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.03529, allocations: 0 / 272.5 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.03529, allocations: 4 kB / 272.6 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.0353, allocations: 0 / 272.6 MB, free: 1.434 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008328/0.03613, allocations: 0.6101 MB / 273.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.03613, allocations: 0 / 273.2 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.03635, allocations: 63.91 kB / 273.2 MB, free: 0.7109 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.03673, allocations: 75.5 kB / 273.3 MB, free: 0.6367 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.534e-05/0.03681, allocations: 20.84 kB / 273.3 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/0.03682, allocations: 12.22 kB / 273.3 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006191/0.03744, allocations: 1.163 MB / 274.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.03745, allocations: 4 kB / 274.5 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003353/0.03778, allocations: 350.4 kB / 274.8 MB, free: 14.96 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.563e-05/0.03784, allocations: 16.06 kB / 274.9 MB, free: 14.95 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002003/0.03804, allocations: 15.98 kB / 274.9 MB, free: 14.93 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.149e-05/0.03809, allocations: 27.91 kB / 274.9 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.0381, allocations: 7.984 kB / 274.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002791/0.03838, allocations: 279.4 kB / 275.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03838, allocations: 0 / 275.2 MB, free: 14.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005843/0.03897, allocations: 175.9 kB / 275.3 MB, free: 14.46 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001916/0.03916, allocations: 100.3 kB / 275.4 MB, free: 14.35 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004547/0.03961, allocations: 378.5 kB / 275.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.562e-05/0.03964, allocations: 12.48 kB / 275.8 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.03983, allocations: 205.4 kB / 276 MB, free: 13.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/0.04116, allocations: 1.811 MB / 277.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.05232, allocations: 1.419 MB / 279.3 MB, free: 10.1 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001341/0.05245, allocations: 153.8 kB / 279.4 MB, free: 9.93 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003064/0.05276, allocations: 85.64 kB / 279.5 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.05309, allocations: 205.2 kB / 279.7 MB, free: 9.645 MB / 282.7 MB Notification: Performance of SimCode: time 1.854e-06/0.05309, allocations: 0 / 279.7 MB, free: 9.645 MB / 282.7 MB Notification: Performance of Templates: time 0.01669/0.06978, allocations: 9.02 MB / 288.7 MB, free: 0.8164 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7673474336043]