Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 84 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005069/0.005069, allocations: 143.5 kB / 24.68 MB, free: 8.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8419/0.8419, allocations: 173.4 MB / 201.2 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 319.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.933e-05, allocations: 6.281 kB / 319.7 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.004796/0.004825, allocations: 5.334 MB / 325 MB, free: 492 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.006623, allocations: 1.596 MB / 326.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002995/0.006923, allocations: 63.62 kB / 326.7 MB, free: 14.82 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003948/0.007317, allocations: 321.4 kB / 327 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007352/0.008052, allocations: 401 kB / 327.4 MB, free: 14.11 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004003/0.008453, allocations: 355.4 kB / 327.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001157/0.00961, allocations: 2.074 MB / 329.8 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.0108, allocations: 1.548 MB / 331.4 MB, free: 10.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00126/0.01206, allocations: 1.599 MB / 333 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001011/0.01307, allocations: 1.009 MB / 334 MB, free: 7.449 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002067/0.01327, allocations: 312 kB / 334.3 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005362/0.01381, allocations: 463.5 kB / 334.7 MB, free: 6.691 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005493/0.01436, allocations: 0.744 MB / 335.5 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005938/0.01495, allocations: 0.8732 MB / 336.3 MB, free: 5.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002615/0.01757, allocations: 3.841 MB / 340.2 MB, free: 1.219 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.01757, allocations: 4 kB / 340.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.01757, allocations: 0 / 340.2 MB, free: 1.215 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.213e-05/0.0176, allocations: 0 / 340.2 MB, free: 1.215 MB / 298.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.002476/0.02007, allocations: 2.423 MB / 342.6 MB, free: 14.74 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.02011, allocations: 12.03 kB / 342.6 MB, free: 14.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003532/0.02046, allocations: 251.4 kB / 342.9 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.02176, allocations: 1.246 MB / 344.1 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/0.0221, allocations: 172.9 kB / 344.3 MB, free: 13.04 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/0.02228, allocations: 216.4 kB / 344.5 MB, free: 12.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002508/0.02479, allocations: 2.617 MB / 347.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.02482, allocations: 3.938 kB / 347.1 MB, free: 10.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001224/0.02495, allocations: 92 kB / 347.2 MB, free: 10.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.393e-05/0.02499, allocations: 59.98 kB / 347.3 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.02708, allocations: 2.137 MB / 349.4 MB, free: 7.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005893/0.03297, allocations: 6.403 MB / 355.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.0336, allocations: 0.691 MB / 356.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006203/0.03422, allocations: 0.5989 MB / 357.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.03425, allocations: 4.5 kB / 357.1 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.54e-05/0.03427, allocations: 39.06 kB / 357.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of pre-optimization done (n=63): time 1.744e-06/0.03427, allocations: 0 / 357.1 MB, free: 15.87 MB / 330.7 MB Notification: Performance of matching and sorting (n=65): time 0.002566/0.03684, allocations: 2.371 MB / 359.5 MB, free: 13.46 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.03687, allocations: 60 kB / 359.6 MB, free: 13.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005635/0.03743, allocations: 0.7814 MB / 360.3 MB, free: 12.61 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.888e-05/0.03746, allocations: 33.7 kB / 360.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003532/0.03782, allocations: 0.9557 MB / 361.3 MB, free: 11.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.03792, allocations: 234 kB / 361.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001295/0.03805, allocations: 150.6 kB / 361.7 MB, free: 11.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.03816, allocations: 386.8 kB / 362.1 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003387/0.0385, allocations: 369.8 kB / 362.4 MB, free: 10.46 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004391/0.03894, allocations: 0.5791 MB / 363 MB, free: 9.789 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007836/0.03972, allocations: 0.9872 MB / 364 MB, free: 8.703 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.03973, allocations: 4 kB / 364 MB, free: 8.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001049/0.04077, allocations: 1.149 MB / 365.2 MB, free: 7.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.04079, allocations: 8.625 kB / 365.2 MB, free: 7.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.0408, allocations: 8 kB / 365.2 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001847/0.04099, allocations: 104.8 kB / 365.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005939/0.04158, allocations: 179.7 kB / 365.5 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00135/0.04293, allocations: 2.176 MB / 367.6 MB, free: 4.965 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.04317, allocations: 39.91 kB / 367.7 MB, free: 4.926 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.83e-05/0.04321, allocations: 32 kB / 367.7 MB, free: 4.895 MB / 330.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.0007215/0.04394, allocations: 0.6496 MB / 368.4 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.04403, allocations: 91.45 kB / 368.4 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000107/0.04413, allocations: 95.31 kB / 368.5 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.751e-05/0.04415, allocations: 12 kB / 368.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.04416, allocations: 4.062 kB / 368.6 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.04416, allocations: 11.92 kB / 368.6 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002212/0.04638, allocations: 2.224 MB / 370.8 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.04638, allocations: 0 / 370.8 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002317/0.04661, allocations: 103.9 kB / 370.9 MB, free: 1.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001382/0.04675, allocations: 104.9 kB / 371 MB, free: 1.527 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.632e-05/0.04678, allocations: 19.98 kB / 371 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/0.04828, allocations: 2.117 MB / 373.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.04828, allocations: 0 / 373.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0012/0.04948, allocations: 1.423 MB / 374.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.04966, allocations: 151.5 kB / 374.7 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.672e-05/0.0497, allocations: 19.98 kB / 374.7 MB, free: 13.66 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.0499, allocations: 35.97 kB / 374.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.036e-05/0.04998, allocations: 56.34 kB / 374.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.05001, allocations: 19.98 kB / 374.8 MB, free: 13.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004069/0.05041, allocations: 0.5381 MB / 375.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05041, allocations: 0 / 375.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006047/0.05102, allocations: 304 kB / 375.7 MB, free: 12.72 MB / 346.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.0002027/0.05122, allocations: 139 kB / 375.8 MB, free: 12.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009939/0.05221, allocations: 0.9711 MB / 376.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.083e-06/0.05222, allocations: 1.688 kB / 376.8 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.05271, allocations: 0.5366 MB / 377.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.05331, allocations: 210.8 kB / 377.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003419/0.05673, allocations: 3.2 MB / 380.7 MB, free: 7.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00069/0.05742, allocations: 1.104 MB / 381.8 MB, free: 6.441 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.05757, allocations: 68.48 kB / 381.9 MB, free: 6.375 MB / 346.7 MB Notification: Performance of SimCode: time 7.62e-07/0.05757, allocations: 0 / 381.9 MB, free: 6.375 MB / 346.7 MB Notification: Performance of Templates: time 0.02044/0.07801, allocations: 29.3 MB / 411.2 MB, free: 9.109 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 5.895465146750212]