Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001889/0.001889, allocations: 104.6 kB / 21.18 MB, free: 0.5508 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.002326/0.002326, allocations: 188.9 kB / 24.47 MB, free: 3.949 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.486/1.486, allocations: 207.6 MB / 235.2 MB, free: 10.03 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.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors")
translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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.001782/0.001782, allocations: 51.92 kB / 347.7 MB, free: 9.551 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2693, allocations: 49.16 MB / 396.8 MB, free: 9.52 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01625/0.2855, allocations: 16.95 MB / 413.8 MB, free: 13.24 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01136/0.2969, allocations: 4.265 MB / 418 MB, free: 10.14 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.004263/0.3012, allocations: 139.1 kB / 418.2 MB, free: 10.1 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01812/0.3193, allocations: 7.546 MB / 425.7 MB, free: 4.371 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.007359/0.3266, allocations: 1.572 MB / 427.3 MB, free: 3.105 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.004984/0.3316, allocations: 1.246 MB / 428.5 MB, free: 2.105 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01302/0.3446, allocations: 8.62 MB / 437.2 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02508/0.3697, allocations: 13.71 MB / 450.9 MB, free: 13.07 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.008513/0.3782, allocations: 5.074 MB / 455.9 MB, free: 7.98 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.00979/0.388, allocations: 5.56 MB / 461.5 MB, free: 2.402 MB / 366.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.003813/0.3918, allocations: 1.406 MB / 462.9 MB, free: 0.9961 MB / 366.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.005585/0.3974, allocations: 1.664 MB / 464.6 MB, free: 15.33 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003928/0.4013, allocations: 2.72 MB / 467.3 MB, free: 12.61 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.009613/0.411, allocations: 5.381 MB / 472.7 MB, free: 7.203 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.03405/0.445, allocations: 18.58 MB / 491.3 MB, free: 4.566 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.445, allocations: 0 / 491.3 MB, free: 4.566 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.743e-06/0.445, allocations: 0 / 491.3 MB, free: 4.566 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 0.0004714/0.4455, allocations: 0 / 491.3 MB, free: 4.566 MB / 398.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 2571
 * Number of variables: 2571
Notification: Performance of Generate backend data structure: time 0.04577/0.4913, allocations: 10.91 MB / 0.4904 GB, free: 9.582 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.919e-05/0.4913, allocations: 15.98 kB / 0.4904 GB, free: 9.566 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0321/0.5234, allocations: 5.754 MB / 0.496 GB, free: 3.801 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01364/0.5371, allocations: 4.911 MB / 0.5008 GB, free: 14.83 MB / 430.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008107/0.5379, allocations: 0.7024 MB / 0.5015 GB, free: 14.13 MB / 430.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.004569/0.5424, allocations: 0.9179 MB / 0.5024 GB, free: 13.21 MB / 430.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.04937/0.5918, allocations: 13.6 MB / 0.5157 GB, free: 15.57 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002808/0.5921, allocations: 7.953 kB / 0.5157 GB, free: 15.56 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002685/0.5948, allocations: 388 kB / 0.5161 GB, free: 15.18 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007008/0.5955, allocations: 460 kB / 0.5165 GB, free: 14.73 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03607/0.6315, allocations: 12.82 MB / 0.529 GB, free: 1.883 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4296/1.061, allocations: 44.44 MB / 0.5724 GB, free: 117.4 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.01119/1.072, allocations: 5.368 MB / 0.5777 GB, free: 117.3 MB / 478.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/1.075, allocations: 1.698 MB / 0.5793 GB, free: 117.3 MB / 478.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0106/1.085, allocations: 5.742 MB / 0.5849 GB, free: 117 MB / 478.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/1.085, allocations: 55.12 kB / 0.585 GB, free: 116.9 MB / 478.1 MB
Notification: Performance of pre-optimization done (n=188): time 3.276e-06/1.085, allocations: 0 / 0.585 GB, free: 116.9 MB / 478.1 MB
Notification: Performance of matching and sorting (n=188): time 0.007152/1.093, allocations: 4.241 MB / 0.5891 GB, free: 115.8 MB / 478.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/1.093, allocations: 70.53 kB / 0.5892 GB, free: 115.8 MB / 478.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004051/1.097, allocations: 3.333 MB / 0.5924 GB, free: 114.6 MB / 478.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001642/1.097, allocations: 57.45 kB / 0.5925 GB, free: 114.5 MB / 478.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.099, allocations: 4.351 MB / 0.5968 GB, free: 111.9 MB / 478.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.000466/1.099, allocations: 0.7248 MB / 0.5975 GB, free: 111.4 MB / 478.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/1.1, allocations: 1.066 MB / 0.5985 GB, free: 110.8 MB / 478.1 MB
Notification: Performance of setup shared object (initialization): time 4.015e-05/1.1, allocations: 301.1 kB / 0.5988 GB, free: 110.5 MB / 478.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002314/1.103, allocations: 2.041 MB / 0.6008 GB, free: 109.4 MB / 478.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.003293/1.106, allocations: 4.689 MB / 0.6054 GB, free: 104.7 MB / 478.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005886/1.112, allocations: 7.093 MB / 0.6123 GB, free: 98.49 MB / 478.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.68e-05/1.112, allocations: 23.81 kB / 0.6123 GB, free: 98.49 MB / 478.1 MB
Notification: Performance of matching and sorting (n=649) (initialization): time 0.008944/1.121, allocations: 7.016 MB / 0.6192 GB, free: 94.85 MB / 478.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/1.121, allocations: 54.81 kB / 0.6192 GB, free: 94.84 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.421e-05/1.121, allocations: 93.8 kB / 0.6193 GB, free: 94.84 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007665/1.122, allocations: 426.1 kB / 0.6197 GB, free: 94.7 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/1.125, allocations: 1.176 MB / 0.6209 GB, free: 93.99 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004053/1.129, allocations: 4.269 MB / 0.625 GB, free: 89.61 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003646/1.133, allocations: 0.7373 MB / 0.6257 GB, free: 88.87 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004013/1.133, allocations: 291.9 kB / 0.626 GB, free: 88.58 MB / 478.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 418
 * 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 (623):
 * Single equations (assignments): 621
 * 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.004398/1.137, allocations: 3.493 MB / 0.6294 GB, free: 85.07 MB / 478.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/1.138, allocations: 298 kB / 0.6297 GB, free: 84.78 MB / 478.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004632/1.143, allocations: 3.3 MB / 0.6329 GB, free: 81.46 MB / 478.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003037/1.146, allocations: 2.538 MB / 0.6354 GB, free: 78.91 MB / 478.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/1.146, allocations: 7.469 kB / 0.6354 GB, free: 78.91 MB / 478.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/1.146, allocations: 11.95 kB / 0.6354 GB, free: 78.9 MB / 478.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01628/1.162, allocations: 9.337 MB / 0.6446 GB, free: 69.53 MB / 478.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.162, allocations: 4.094 kB / 0.6446 GB, free: 69.53 MB / 478.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/1.163, allocations: 359.5 kB / 0.6449 GB, free: 69.18 MB / 478.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006415/1.164, allocations: 313.2 kB / 0.6452 GB, free: 68.87 MB / 478.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001288/1.164, allocations: 39.98 kB / 0.6452 GB, free: 68.83 MB / 478.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003915/1.168, allocations: 4.094 MB / 0.6492 GB, free: 64.62 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.168, allocations: 0 / 0.6492 GB, free: 64.62 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005437/1.173, allocations: 4.712 MB / 0.6538 GB, free: 59.88 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001368/1.175, allocations: 0.5443 MB / 0.6544 GB, free: 59.33 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005618/1.175, allocations: 36 kB / 0.6544 GB, free: 59.3 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001417/1.177, allocations: 127.8 kB / 0.6545 GB, free: 59.17 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002352/1.177, allocations: 133.7 kB / 0.6547 GB, free: 59.04 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001134/1.177, allocations: 55.98 kB / 0.6547 GB, free: 58.99 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.003016/1.18, allocations: 2.198 MB / 0.6569 GB, free: 56.79 MB / 478.1 MB
Notification: Performance of sort global known variables: time 9e-08/1.18, allocations: 0 / 0.6569 GB, free: 56.79 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.004832/1.185, allocations: 2.058 MB / 0.6589 GB, free: 54.72 MB / 478.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * 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 (180):
 * Single equations (assignments): 178
 * 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.0003964/1.185, allocations: 206.3 kB / 0.6591 GB, free: 54.52 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.00576/1.191, allocations: 4.514 MB / 0.6635 GB, free: 50.01 MB / 478.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.739e-06/1.191, allocations: 0 / 0.6635 GB, free: 50.01 MB / 478.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001725/1.193, allocations: 1.485 MB / 0.6649 GB, free: 48.52 MB / 478.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003503/1.196, allocations: 0.6865 MB / 0.6656 GB, free: 47.84 MB / 478.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02071/1.217, allocations: 14.06 MB / 0.6793 GB, free: 33.74 MB / 478.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004773/1.222, allocations: 5.796 MB / 0.685 GB, free: 27.91 MB / 478.1 MB
Notification: Performance of simCode: alias equations: time 0.00379/1.226, allocations: 1.832 MB / 0.6868 GB, free: 26.07 MB / 478.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006169/1.226, allocations: 231.4 kB / 0.687 GB, free: 25.85 MB / 478.1 MB
Notification: Performance of SimCode: time 1.203e-06/1.226, allocations: 3.938 kB / 0.687 GB, free: 25.84 MB / 478.1 MB
Notification: Performance of Templates: time 0.07885/1.305, allocations: 44.03 MB / 0.73 GB, free: 13.88 MB / 0.4982 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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: 7.073963165283203]