Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001616/0.001616, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001732/0.001732, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 230.3 MB / 257.9 MB, free: 8.289 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors")
translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 59.91 kB / 378.8 MB, free: 2.883 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2647, allocations: 53.37 MB / 432.1 MB, free: 7.078 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01994/0.2846, allocations: 16.61 MB / 448.7 MB, free: 6.395 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.009222/0.2938, allocations: 4.169 MB / 452.9 MB, free: 2.211 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/0.2966, allocations: 159.2 kB / 453.1 MB, free: 2.055 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01737/0.314, allocations: 7.513 MB / 460.6 MB, free: 10.52 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005383/0.3194, allocations: 1.358 MB / 461.9 MB, free: 9.16 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003286/0.3227, allocations: 1.273 MB / 463.2 MB, free: 7.891 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.009886/0.3325, allocations: 8.308 MB / 471.5 MB, free: 15.55 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02159/0.3541, allocations: 13.67 MB / 485.2 MB, free: 1.691 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.00655/0.3607, allocations: 4.922 MB / 490.1 MB, free: 12.76 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.008439/0.3691, allocations: 5.353 MB / 495.5 MB, free: 7.387 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.004765/0.3739, allocations: 1.387 MB / 496.9 MB, free: 6 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.3788, allocations: 1.672 MB / 498.5 MB, free: 4.328 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003577/0.3824, allocations: 2.584 MB / 0.4894 GB, free: 1.738 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.009627/0.392, allocations: 5.222 MB / 0.4945 GB, free: 12.5 MB / 414.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.02448/0.4165, allocations: 18.36 MB / 0.5124 GB, free: 10.08 MB / 430.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.4165, allocations: 0 / 0.5124 GB, free: 10.08 MB / 430.1 MB
Notification: Performance of FrontEnd: time 2.806e-06/0.4165, allocations: 0 / 0.5124 GB, free: 10.08 MB / 430.1 MB
Notification: Performance of Transformations before backend: time 0.0004888/0.417, allocations: 4 kB / 0.5124 GB, free: 10.08 MB / 430.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 2457
 * Number of variables: 2457
Notification: Performance of Generate backend data structure: time 0.03218/0.4492, allocations: 10.55 MB / 0.5227 GB, free: 15.45 MB / 446.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.4493, allocations: 12.03 kB / 0.5227 GB, free: 15.44 MB / 446.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02112/0.4704, allocations: 3.694 MB / 0.5263 GB, free: 11.74 MB / 446.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0157/0.4861, allocations: 5.441 MB / 0.5316 GB, free: 6.238 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001116/0.4872, allocations: 0.6746 MB / 0.5323 GB, free: 5.562 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.004612/0.4918, allocations: 0.8867 MB / 0.5332 GB, free: 4.676 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.4307/0.9225, allocations: 12.73 MB / 0.5456 GB, free: 84.8 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001654/0.9227, allocations: 13.23 kB / 0.5456 GB, free: 84.79 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009264/0.9236, allocations: 375.4 kB / 0.546 GB, free: 84.5 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003167/0.9239, allocations: 404.4 kB / 0.5463 GB, free: 84.47 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01764/0.9416, allocations: 11.42 MB / 0.5575 GB, free: 79.29 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04942/0.991, allocations: 42.37 MB / 0.5989 GB, free: 38.74 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007368/0.9984, allocations: 4.2 MB / 0.603 GB, free: 34.79 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001753/1, allocations: 1.534 MB / 0.6045 GB, free: 33.26 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/1, allocations: 84.23 kB / 0.6046 GB, free: 33.2 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/1, allocations: 60.56 kB / 0.6046 GB, free: 33.12 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=223): time 4.368e-06/1, allocations: 3.938 kB / 0.6046 GB, free: 33.12 MB / 446.1 MB
Notification: Performance of matching and sorting (n=223): time 0.007283/1.008, allocations: 4.594 MB / 0.6091 GB, free: 28.52 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/1.008, allocations: 77.34 kB / 0.6092 GB, free: 28.43 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003654/1.011, allocations: 2.936 MB / 0.6121 GB, free: 25.53 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001413/1.011, allocations: 61.7 kB / 0.6121 GB, free: 25.46 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001562/1.013, allocations: 3.981 MB / 0.616 GB, free: 21.89 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005367/1.014, allocations: 0.8244 MB / 0.6168 GB, free: 21.07 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/1.015, allocations: 0.9682 MB / 0.6177 GB, free: 20.09 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 4.133e-05/1.015, allocations: 301.1 kB / 0.618 GB, free: 19.8 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002552/1.017, allocations: 1.973 MB / 0.62 GB, free: 17.82 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003138/1.021, allocations: 4.165 MB / 0.624 GB, free: 12.58 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005569/1.026, allocations: 6.517 MB / 0.6304 GB, free: 5.02 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.051e-05/1.026, allocations: 24 kB / 0.6304 GB, free: 4.996 MB / 446.1 MB
Notification: Performance of matching and sorting (n=592) (initialization): time 0.009571/1.036, allocations: 6.529 MB / 0.6368 GB, free: 14.46 MB / 462.1 MB
Notification: Performance of prepare postOptimizeDAE: time 7.971e-05/1.036, allocations: 36 kB / 0.6368 GB, free: 14.42 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001128/1.036, allocations: 72 kB / 0.6369 GB, free: 14.35 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001068/1.037, allocations: 417.3 kB / 0.6373 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003513/1.041, allocations: 1.068 MB / 0.6383 GB, free: 12.87 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00613/1.047, allocations: 4.283 MB / 0.6425 GB, free: 8.484 MB / 462.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/1.05, allocations: 0.6286 MB / 0.6431 GB, free: 7.852 MB / 462.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006534/1.051, allocations: 256 kB / 0.6434 GB, free: 7.602 MB / 462.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 340
 * 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 (566):
 * Single equations (assignments): 564
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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
   {(3,23,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.006149/1.057, allocations: 3.365 MB / 0.6467 GB, free: 4.223 MB / 462.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007602/1.058, allocations: 290 kB / 0.6469 GB, free: 3.938 MB / 462.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006817/1.065, allocations: 3.569 MB / 0.6504 GB, free: 348 kB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004753/1.069, allocations: 2.809 MB / 0.6532 GB, free: 13.52 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.347e-05/1.069, allocations: 8 kB / 0.6532 GB, free: 13.52 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/1.069, allocations: 11.95 kB / 0.6532 GB, free: 13.5 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02073/1.09, allocations: 9.915 MB / 0.6629 GB, free: 3.508 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/1.09, allocations: 0 / 0.6629 GB, free: 3.508 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/1.092, allocations: 419.4 kB / 0.6633 GB, free: 3.098 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0008123/1.093, allocations: 312.7 kB / 0.6636 GB, free: 2.789 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001888/1.093, allocations: 51.97 kB / 0.6636 GB, free: 2.738 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005703/1.099, allocations: 4.097 MB / 0.6676 GB, free: 14.52 MB / 494.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.099, allocations: 0 / 0.6676 GB, free: 14.52 MB / 494.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00849/1.107, allocations: 5.15 MB / 0.6726 GB, free: 9.34 MB / 494.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.109, allocations: 0.556 MB / 0.6732 GB, free: 8.781 MB / 494.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005484/1.109, allocations: 44 kB / 0.6732 GB, free: 8.738 MB / 494.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001585/1.111, allocations: 127.8 kB / 0.6734 GB, free: 8.613 MB / 494.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003384/1.111, allocations: 157.7 kB / 0.6735 GB, free: 8.461 MB / 494.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001609/1.111, allocations: 71.92 kB / 0.6736 GB, free: 8.391 MB / 494.1 MB
Notification: Performance of sorting global known variables: time 0.00394/1.115, allocations: 1.959 MB / 0.6755 GB, free: 6.422 MB / 494.1 MB
Notification: Performance of sort global known variables: time 1e-07/1.115, allocations: 4.062 kB / 0.6755 GB, free: 6.418 MB / 494.1 MB
Notification: Performance of remove unused functions: time 0.006857/1.122, allocations: 1.992 MB / 0.6774 GB, free: 4.418 MB / 494.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 6
 * Number of states: 1 (sineVoltage.plug_p.reference.gamma)
 * 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 (215):
 * Single equations (assignments): 213
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 1
 * 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
   {(3,23,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0006149/1.123, allocations: 198.7 kB / 0.6776 GB, free: 4.215 MB / 494.1 MB
Notification: Performance of simCode: created initialization part: time 0.008454/1.131, allocations: 4.447 MB / 0.682 GB, free: 15.76 MB / 0.4982 GB
Notification: Performance of simCode: created event and clocks part: time 5.73e-06/1.131, allocations: 0 / 0.682 GB, free: 15.76 MB / 0.4982 GB
Notification: Performance of simCode: created simulation system equations: time 0.002912/1.134, allocations: 1.619 MB / 0.6836 GB, free: 14.14 MB / 0.4982 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/1.138, allocations: 0.6763 MB / 0.6842 GB, free: 13.48 MB / 0.4982 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02715/1.165, allocations: 13.52 MB / 0.6974 GB, free: 15.89 MB / 0.5138 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008207/1.173, allocations: 5.645 MB / 0.7029 GB, free: 10.21 MB / 0.5138 GB
Notification: Performance of simCode: alias equations: time 0.004318/1.178, allocations: 1.69 MB / 0.7046 GB, free: 8.516 MB / 0.5138 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008566/1.178, allocations: 247.4 kB / 0.7048 GB, free: 8.273 MB / 0.5138 GB
Notification: Performance of SimCode: time 9.22e-07/1.179, allocations: 3.938 kB / 0.7048 GB, free: 8.27 MB / 0.5138 GB
Notification: Performance of Templates: time 0.3187/1.497, allocations: 44.37 MB / 0.7481 GB, free: 179.1 MB / 0.545 GB
"
[Timeout remaining time 658]
make -j1 -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660]
(rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.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: 7.174361984245479]