Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.001743/0.001743, allocations: 104.5 kB / 21.18 MB, free: 0.707 MB / 14.72 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.001901/0.001901, allocations: 185.2 kB / 24.47 MB, free: 4.074 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.667/1.667, allocations: 207.6 MB / 235.2 MB, free: 10.02 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors")
translateModel(Modelica.Electrical.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.inductor.2..i|inductor.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001754/0.001754, allocations: 59.91 kB / 347.7 MB, free: 9.559 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3464, allocations: 49.16 MB / 396.8 MB, free: 9.512 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006873/0.3532, allocations: 6.005 MB / 402.8 MB, free: 5.23 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.004206/0.3574, allocations: 1.699 MB / 404.5 MB, free: 3.98 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009347/0.3584, allocations: 52.88 kB / 404.6 MB, free: 3.957 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0006998/0.3591, allocations: 318.9 kB / 404.9 MB, free: 3.773 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001371/0.3604, allocations: 390.7 kB / 405.3 MB, free: 3.527 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000784/0.3612, allocations: 356.7 kB / 405.6 MB, free: 3.316 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002108/0.3633, allocations: 2.022 MB / 407.6 MB, free: 2.297 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001949/0.3653, allocations: 1.573 MB / 409.2 MB, free: 1.449 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.3668, allocations: 1.059 MB / 410.3 MB, free: 0.9258 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001906/0.3687, allocations: 1.216 MB / 411.5 MB, free: 312 kB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0004639/0.3691, allocations: 309.4 kB / 411.8 MB, free: 312 kB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001155/0.3703, allocations: 0.5518 MB / 412.3 MB, free: 144 kB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0008754/0.3712, allocations: 0.7348 MB / 413.1 MB, free: 15.55 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.001586/0.3728, allocations: 1.262 MB / 414.3 MB, free: 14.63 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.004785/0.3775, allocations: 3.806 MB / 418.1 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3775, allocations: 0 / 418.1 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.743e-06/0.3775, allocations: 5.125 kB / 418.1 MB, free: 11.78 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 0.0001203/0.3777, allocations: 0 / 418.1 MB, free: 11.78 MB / 334.1 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.006899/0.3846, allocations: 2.436 MB / 420.6 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.861e-05/0.3846, allocations: 14.14 kB / 420.6 MB, free: 10.09 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007757/0.3854, allocations: 257.9 kB / 420.8 MB, free: 9.953 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002388/0.3878, allocations: 1.119 MB / 422 MB, free: 9.188 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/0.3879, allocations: 172.4 kB / 422.1 MB, free: 9.105 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.3882, allocations: 225.1 kB / 422.4 MB, free: 9.027 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.005261/0.3935, allocations: 2.535 MB / 424.9 MB, free: 7.113 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.584e-05/0.3935, allocations: 4 kB / 424.9 MB, free: 7.109 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002135/0.3938, allocations: 88 kB / 425 MB, free: 7.023 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.718e-05/0.3938, allocations: 60 kB / 425 MB, free: 6.965 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004028/0.3979, allocations: 2.137 MB / 427.2 MB, free: 4.812 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01335/0.4112, allocations: 7.362 MB / 434.5 MB, free: 13.23 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001099/0.4123, allocations: 0.6937 MB / 435.2 MB, free: 12.53 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.4134, allocations: 0.5907 MB / 435.8 MB, free: 11.94 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.4135, allocations: 8.5 kB / 435.8 MB, free: 11.93 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.734e-05/0.4135, allocations: 43.06 kB / 435.9 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=63): time 3.266e-06/0.4135, allocations: 0 / 435.9 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of matching and sorting (n=65): time 0.00488/0.4184, allocations: 2.387 MB / 438.3 MB, free: 9.449 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.897e-05/0.4185, allocations: 56.06 kB / 438.3 MB, free: 9.383 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.4196, allocations: 0.8011 MB / 439.1 MB, free: 8.574 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.979e-05/0.4197, allocations: 37.7 kB / 439.1 MB, free: 8.531 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0006809/0.4203, allocations: 0.9402 MB / 440.1 MB, free: 7.578 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002036/0.4205, allocations: 241.9 kB / 440.3 MB, free: 7.34 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.4208, allocations: 142.6 kB / 440.5 MB, free: 7.191 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002296/0.421, allocations: 394.7 kB / 440.8 MB, free: 6.797 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005894/0.4216, allocations: 361.8 kB / 441.2 MB, free: 6.445 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007779/0.4224, allocations: 0.5907 MB / 441.8 MB, free: 5.762 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001409/0.4238, allocations: 0.9872 MB / 442.8 MB, free: 4.676 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4238, allocations: 3.938 kB / 442.8 MB, free: 4.672 MB / 350.1 MB
Notification: Performance of matching and sorting (n=100) (initialization): time 0.001944/0.4257, allocations: 1.157 MB / 443.9 MB, free: 3.504 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/0.4258, allocations: 11.94 kB / 444 MB, free: 3.492 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.4258, allocations: 11.94 kB / 444 MB, free: 3.48 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0003243/0.4261, allocations: 104.9 kB / 444.1 MB, free: 3.375 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007254/0.4268, allocations: 179.7 kB / 444.2 MB, free: 3.199 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002886/0.4297, allocations: 2.21 MB / 446.5 MB, free: 0.8789 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007579/0.4305, allocations: 40.03 kB / 446.5 MB, free: 0.8398 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.252e-05/0.4305, allocations: 40 kB / 446.5 MB, free: 0.8008 MB / 350.1 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.001392/0.4319, allocations: 0.6497 MB / 447.2 MB, free: 144 kB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002346/0.4322, allocations: 91.36 kB / 447.3 MB, free: 52 kB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002573/0.4324, allocations: 99.56 kB / 447.4 MB, free: 15.94 MB / 366.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/0.4325, allocations: 8 kB / 447.4 MB, free: 15.93 MB / 366.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.4325, allocations: 0 / 447.4 MB, free: 15.93 MB / 366.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.4325, allocations: 3.984 kB / 447.4 MB, free: 15.93 MB / 366.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004639/0.4371, allocations: 2.641 MB / 450 MB, free: 13.22 MB / 366.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.4371, allocations: 4 kB / 450 MB, free: 13.22 MB / 366.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.4376, allocations: 107.9 kB / 450.1 MB, free: 13.11 MB / 366.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002407/0.4378, allocations: 101.1 kB / 450.2 MB, free: 13.01 MB / 366.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.4379, allocations: 19.92 kB / 450.2 MB, free: 12.99 MB / 366.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00231/0.4402, allocations: 2.156 MB / 452.4 MB, free: 10.73 MB / 366.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.4402, allocations: 8.016 kB / 452.4 MB, free: 10.72 MB / 366.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00242/0.4426, allocations: 1.431 MB / 453.8 MB, free: 9.25 MB / 366.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004753/0.4431, allocations: 151.4 kB / 454 MB, free: 9.102 MB / 366.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.4432, allocations: 12 kB / 454 MB, free: 9.09 MB / 366.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004604/0.4437, allocations: 47.89 kB / 454 MB, free: 9.043 MB / 366.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.4438, allocations: 52.34 kB / 454.1 MB, free: 8.992 MB / 366.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.116e-05/0.4439, allocations: 24 kB / 454.1 MB, free: 8.969 MB / 366.1 MB
Notification: Performance of sorting global known variables: time 0.0009144/0.4448, allocations: 0.5654 MB / 454.7 MB, free: 8.406 MB / 366.1 MB
Notification: Performance of sort global known variables: time 1.01e-07/0.4448, allocations: 0 / 454.7 MB, free: 8.406 MB / 366.1 MB
Notification: Performance of remove unused functions: time 0.001403/0.4462, allocations: 299.9 kB / 455 MB, free: 8.113 MB / 366.1 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.0003043/0.4465, allocations: 131.1 kB / 455.1 MB, free: 7.977 MB / 366.1 MB
Notification: Performance of simCode: created initialization part: time 0.001896/0.4484, allocations: 0.9804 MB / 456.1 MB, free: 6.984 MB / 366.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.4484, allocations: 0 / 456.1 MB, free: 6.984 MB / 366.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0009766/0.4493, allocations: 0.5406 MB / 456.6 MB, free: 6.43 MB / 366.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.4505, allocations: 222.8 kB / 456.8 MB, free: 6.215 MB / 366.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006649/0.4572, allocations: 3.27 MB / 460.1 MB, free: 2.891 MB / 366.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00164/0.4588, allocations: 1.724 MB / 461.8 MB, free: 1.137 MB / 366.1 MB
Notification: Performance of simCode: alias equations: time 0.0006641/0.4595, allocations: 207.1 kB / 462 MB, free: 0.9297 MB / 366.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.4597, allocations: 59.42 kB / 462.1 MB, free: 0.8711 MB / 366.1 MB
Notification: Performance of SimCode: time 9.32e-07/0.4597, allocations: 0 / 462.1 MB, free: 0.8711 MB / 366.1 MB
Notification: Performance of Templates: time 0.02855/0.4882, allocations: 13.14 MB / 475.2 MB, free: 3.703 MB / 382.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.24896193202585]