Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001871/0.001871, allocations: 91.61 kB / 20.96 MB, free: 3.461 MB / 18.57 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.00196/0.00196, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 18.57 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 1.625/1.625, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") translateModel(Modelica.Electrical.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 272.3 MB, free: 1.855 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.128e-05/3.28e-05, allocations: 2.312 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.009016/0.009048, allocations: 5.79 MB / 278.1 MB, free: 12.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003971/0.01302, allocations: 1.67 MB / 279.8 MB, free: 10.35 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006634/0.01368, allocations: 63.62 kB / 279.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007209/0.0144, allocations: 321.4 kB / 280.2 MB, free: 9.973 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.01576, allocations: 401 kB / 280.5 MB, free: 9.578 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.01654, allocations: 363.4 kB / 280.9 MB, free: 9.223 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002677/0.01921, allocations: 2.074 MB / 283 MB, free: 7.141 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.02187, allocations: 1.552 MB / 284.5 MB, free: 5.523 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002583/0.02445, allocations: 1.618 MB / 286.1 MB, free: 3.902 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002079/0.02653, allocations: 1.169 MB / 287.3 MB, free: 2.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005012/0.02703, allocations: 308 kB / 287.6 MB, free: 2.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009383/0.02797, allocations: 455.5 kB / 288.1 MB, free: 1.984 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008398/0.02881, allocations: 0.7675 MB / 288.8 MB, free: 1.215 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001326/0.03013, allocations: 0.8849 MB / 289.7 MB, free: 336 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1347/0.1648, allocations: 3.872 MB / 293.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1648, allocations: 1.219 kB / 293.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1648, allocations: 3.844 kB / 293.6 MB, free: 18.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001666/0.165, allocations: 0 / 293.6 MB, free: 18.62 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.005889/0.1709, allocations: 2.807 MB / 296.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1709, allocations: 9.656 kB / 296.4 MB, free: 17.54 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.1721, allocations: 467.1 kB / 296.9 MB, free: 17.41 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002306/0.1744, allocations: 1.208 MB / 298.1 MB, free: 17.11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001328/0.1745, allocations: 173 kB / 298.2 MB, free: 17.1 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003012/0.1748, allocations: 221 kB / 298.5 MB, free: 17.04 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003909/0.1788, allocations: 2.365 MB / 300.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.1788, allocations: 0 / 300.8 MB, free: 16.02 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002078/0.179, allocations: 94.25 kB / 300.9 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.009e-05/0.1791, allocations: 59.2 kB / 301 MB, free: 15.94 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.182, allocations: 1.869 MB / 302.8 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01078/0.1928, allocations: 7.86 MB / 310.7 MB, free: 10.03 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/0.1936, allocations: 0.599 MB / 311.3 MB, free: 9.703 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000824/0.1944, allocations: 0.5278 MB / 311.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.765e-05/0.1944, allocations: 14.7 kB / 311.8 MB, free: 9.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.1945, allocations: 41.36 kB / 311.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of pre-optimization done (n=63): time 2.244e-06/0.1945, allocations: 0 / 311.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of matching and sorting (n=65): time 0.003195/0.1977, allocations: 2.077 MB / 314 MB, free: 7.586 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/0.1977, allocations: 59.62 kB / 314 MB, free: 7.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008523/0.1985, allocations: 0.9601 MB / 315 MB, free: 6.543 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.1986, allocations: 37.7 kB / 315 MB, free: 6.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003856/0.199, allocations: 1.056 MB / 316.1 MB, free: 5.434 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001203/0.1991, allocations: 251.9 kB / 316.3 MB, free: 5.191 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.1993, allocations: 180.2 kB / 316.5 MB, free: 5.008 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001899/0.1995, allocations: 0.6367 MB / 317.1 MB, free: 4.359 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.1998, allocations: 285.8 kB / 317.4 MB, free: 4.082 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004906/0.2003, allocations: 0.6174 MB / 318 MB, free: 3.34 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000915/0.2012, allocations: 0.9668 MB / 319 MB, free: 2.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.2012, allocations: 4 kB / 319 MB, free: 2.266 MB / 266.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001381/0.2026, allocations: 1.037 MB / 320 MB, free: 1.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.2026, allocations: 8 kB / 320 MB, free: 1.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.2027, allocations: 8 kB / 320 MB, free: 1.25 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003207/0.203, allocations: 107.1 kB / 320.1 MB, free: 1.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.2036, allocations: 174.3 kB / 320.3 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.2062, allocations: 2.69 MB / 323 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000586/0.2067, allocations: 31.98 kB / 323 MB, free: 14.16 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.621e-05/0.2068, allocations: 43.92 kB / 323.1 MB, free: 14.12 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001269/0.2081, allocations: 0.6198 MB / 323.7 MB, free: 13.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002645/0.2084, allocations: 103.5 kB / 323.8 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.2086, allocations: 87.47 kB / 323.9 MB, free: 13.31 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.549e-05/0.2086, allocations: 12 kB / 323.9 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.2086, allocations: 3.172 kB / 323.9 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.2087, allocations: 3.984 kB / 323.9 MB, free: 13.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005555/0.2142, allocations: 2.661 MB / 326.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.129e-06/0.2142, allocations: 0 / 326.6 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004869/0.2147, allocations: 107.5 kB / 326.7 MB, free: 10.49 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002983/0.215, allocations: 88.59 kB / 326.8 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.646e-05/0.215, allocations: 12 kB / 326.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.2178, allocations: 2.568 MB / 329.3 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.2178, allocations: 0 / 329.3 MB, free: 7.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002135/0.2199, allocations: 1.181 MB / 330.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004646/0.2204, allocations: 147.4 kB / 330.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.989e-05/0.2205, allocations: 16 kB / 330.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004193/0.2209, allocations: 35.97 kB / 330.7 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.221, allocations: 51.86 kB / 330.8 MB, free: 6.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.2211, allocations: 20 kB / 330.8 MB, free: 6.242 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0009184/0.222, allocations: 0.5848 MB / 331.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.222, allocations: 0 / 331.4 MB, free: 5.66 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001738/0.2238, allocations: 303 kB / 331.7 MB, free: 5.367 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004432/0.2242, allocations: 144.8 kB / 331.8 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002039/0.2262, allocations: 0.9381 MB / 332.7 MB, free: 4.293 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.2262, allocations: 4 kB / 332.8 MB, free: 4.289 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008878/0.2271, allocations: 0.5337 MB / 333.3 MB, free: 3.75 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001207/0.2283, allocations: 234.5 kB / 333.5 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005948/0.2343, allocations: 3.063 MB / 336.6 MB, free: 420 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001371/0.2357, allocations: 1.048 MB / 337.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0005527/0.2362, allocations: 158.9 kB / 337.8 MB, free: 15.16 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.2364, allocations: 64.48 kB / 337.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of SimCode: time 2.084e-06/0.2364, allocations: 0 / 337.8 MB, free: 15.1 MB / 298.7 MB Notification: Performance of Templates: time 0.02662/0.263, allocations: 12.21 MB / 350.1 MB, free: 3.16 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.915221635019407]