Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.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.001831/0.001831, allocations: 112.2 kB / 20.43 MB, free: 1.457 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.002102/0.002102, allocations: 182.2 kB / 23.71 MB, free: 4.695 MB / 14.72 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 1.419/1.419, allocations: 225.6 MB / 252.5 MB, free: 13 MB / 206.1 MB
"
[Timeout remaining time 178]
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.QuasiStatic.Polyphase.Examples.TestSensors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002551/0.002551, allocations: 47.92 kB / 371 MB, free: 9.32 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.2654, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors): time 0.01925/0.2847, allocations: 16.59 MB / 439.7 MB, free: 14 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008468/0.2932, allocations: 4.118 MB / 443.8 MB, free: 9.867 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002403/0.2956, allocations: 163.2 kB / 444 MB, free: 9.707 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0168/0.3124, allocations: 7.512 MB / 451.5 MB, free: 2.18 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005196/0.3176, allocations: 1.528 MB / 453 MB, free: 0.6445 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002794/0.3204, allocations: 1.111 MB / 454.1 MB, free: 15.54 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.009864/0.3302, allocations: 8.308 MB / 462.5 MB, free: 7.191 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.02135/0.3516, allocations: 13.67 MB / 476.1 MB, free: 9.336 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.006344/0.3579, allocations: 4.906 MB / 481 MB, free: 4.418 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.008113/0.366, allocations: 5.361 MB / 486.4 MB, free: 15.04 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002954/0.369, allocations: 1.383 MB / 487.8 MB, free: 13.66 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.004246/0.3732, allocations: 1.652 MB / 489.4 MB, free: 12 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0031/0.3763, allocations: 2.584 MB / 492 MB, free: 9.414 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.006774/0.3831, allocations: 5.21 MB / 497.2 MB, free: 4.184 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01929/0.4024, allocations: 18.34 MB / 0.5035 GB, free: 1.785 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.4024, allocations: 0 / 0.5035 GB, free: 1.785 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.914e-06/0.4024, allocations: 0 / 0.5035 GB, free: 1.785 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0005454/0.4029, allocations: 0 / 0.5035 GB, free: 1.785 MB / 414.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.03084/0.4338, allocations: 10.55 MB / 0.5138 GB, free: 7.16 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.4338, allocations: 8.031 kB / 0.5138 GB, free: 7.152 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02101/0.4548, allocations: 3.78 MB / 0.5175 GB, free: 3.363 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.4668, allocations: 5.421 MB / 0.5228 GB, free: 13.88 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007037/0.4675, allocations: 0.6824 MB / 0.5234 GB, free: 13.2 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002922/0.4704, allocations: 0.8828 MB / 0.5243 GB, free: 12.32 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.4043/0.8747, allocations: 12.72 MB / 0.5367 GB, free: 91.89 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002388/0.8749, allocations: 10.05 kB / 0.5367 GB, free: 91.89 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001699/0.8766, allocations: 374.8 kB / 0.5371 GB, free: 91.89 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005462/0.8772, allocations: 398.5 kB / 0.5375 GB, free: 91.87 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02116/0.8983, allocations: 11.41 MB / 0.5486 GB, free: 88.09 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05175/0.9501, allocations: 42.32 MB / 0.59 GB, free: 52.84 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.006977/0.9571, allocations: 4.184 MB / 0.594 GB, free: 48.91 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001951/0.959, allocations: 1.534 MB / 0.5955 GB, free: 47.38 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001987/0.9592, allocations: 69.08 kB / 0.5956 GB, free: 47.32 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.9592, allocations: 56.56 kB / 0.5957 GB, free: 47.26 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=223): time 4.569e-06/0.9593, allocations: 0 / 0.5957 GB, free: 47.26 MB / 446.1 MB
Notification: Performance of matching and sorting (n=223): time 0.007176/0.9664, allocations: 4.578 MB / 0.6001 GB, free: 42.68 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.684e-05/0.9665, allocations: 81.34 kB / 0.6002 GB, free: 42.59 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.9702, allocations: 2.932 MB / 0.6031 GB, free: 39.69 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.9704, allocations: 61.7 kB / 0.6031 GB, free: 39.62 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001939/0.9723, allocations: 3.986 MB / 0.607 GB, free: 36.04 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0005941/0.9729, allocations: 0.8284 MB / 0.6078 GB, free: 35.22 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.974, allocations: 0.9488 MB / 0.6088 GB, free: 34.26 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 4.151e-05/0.974, allocations: 305.1 kB / 0.609 GB, free: 33.96 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002122/0.9761, allocations: 1.969 MB / 0.611 GB, free: 31.98 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002811/0.9789, allocations: 4.161 MB / 0.615 GB, free: 26.75 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.005465/0.9844, allocations: 6.505 MB / 0.6214 GB, free: 19.2 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.946e-05/0.9844, allocations: 24 kB / 0.6214 GB, free: 19.18 MB / 446.1 MB
Notification: Performance of matching and sorting (n=592) (initialization): time 0.008207/0.9927, allocations: 6.514 MB / 0.6278 GB, free: 12.65 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.289e-05/0.9927, allocations: 36 kB / 0.6278 GB, free: 12.62 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.679e-05/0.9928, allocations: 76.19 kB / 0.6279 GB, free: 12.54 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007418/0.9935, allocations: 412.5 kB / 0.6283 GB, free: 12.14 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002932/0.9964, allocations: 1.065 MB / 0.6293 GB, free: 11.07 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003969/1, allocations: 4.279 MB / 0.6335 GB, free: 6.684 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/1.003, allocations: 0.6364 MB / 0.6341 GB, free: 6.043 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002843/1.004, allocations: 252 kB / 0.6344 GB, free: 5.797 MB / 446.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.003622/1.007, allocations: 3.361 MB / 0.6376 GB, free: 2.422 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00047/1.008, allocations: 290.2 kB / 0.6379 GB, free: 2.137 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00518/1.013, allocations: 3.581 MB / 0.6414 GB, free: 14.53 MB / 462.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004335/1.017, allocations: 2.799 MB / 0.6441 GB, free: 11.71 MB / 462.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/1.017, allocations: 4 kB / 0.6441 GB, free: 11.71 MB / 462.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/1.017, allocations: 7.969 kB / 0.6442 GB, free: 11.7 MB / 462.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01649/1.034, allocations: 9.891 MB / 0.6538 GB, free: 1.77 MB / 462.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.205e-06/1.034, allocations: 0 / 0.6538 GB, free: 1.77 MB / 462.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001664/1.035, allocations: 411.4 kB / 0.6542 GB, free: 1.367 MB / 462.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0007516/1.036, allocations: 312.7 kB / 0.6545 GB, free: 1.059 MB / 462.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001419/1.036, allocations: 51.98 kB / 0.6546 GB, free: 1.008 MB / 462.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005502/1.042, allocations: 4.11 MB / 0.6586 GB, free: 12.79 MB / 478.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.042, allocations: 0 / 0.6586 GB, free: 12.79 MB / 478.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007997/1.05, allocations: 5.126 MB / 0.6636 GB, free: 7.625 MB / 478.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.051, allocations: 0.564 MB / 0.6641 GB, free: 7.059 MB / 478.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003102/1.051, allocations: 44 kB / 0.6642 GB, free: 7.016 MB / 478.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.053, allocations: 127.8 kB / 0.6643 GB, free: 6.891 MB / 478.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000305/1.053, allocations: 153.7 kB / 0.6644 GB, free: 6.742 MB / 478.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001462/1.053, allocations: 71.92 kB / 0.6645 GB, free: 6.672 MB / 478.1 MB
Notification: Performance of sorting global known variables: time 0.003078/1.056, allocations: 1.959 MB / 0.6664 GB, free: 4.703 MB / 478.1 MB
Notification: Performance of sort global known variables: time 1.2e-07/1.056, allocations: 4 kB / 0.6664 GB, free: 4.699 MB / 478.1 MB
Notification: Performance of remove unused functions: time 0.005097/1.061, allocations: 1.992 MB / 0.6684 GB, free: 2.699 MB / 478.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.0004977/1.062, allocations: 206.7 kB / 0.6686 GB, free: 2.488 MB / 478.1 MB
Notification: Performance of simCode: created initialization part: time 0.007524/1.069, allocations: 4.429 MB / 0.6729 GB, free: 14.05 MB / 494.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.019e-06/1.069, allocations: 2 kB / 0.6729 GB, free: 14.05 MB / 494.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002594/1.072, allocations: 1.618 MB / 0.6745 GB, free: 12.42 MB / 494.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/1.075, allocations: 0.6771 MB / 0.6751 GB, free: 11.76 MB / 494.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02441/1.1, allocations: 13.56 MB / 0.6884 GB, free: 14.14 MB / 0.4982 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006928/1.107, allocations: 5.642 MB / 0.6939 GB, free: 8.461 MB / 0.4982 GB
Notification: Performance of simCode: alias equations: time 0.004236/1.111, allocations: 1.706 MB / 0.6955 GB, free: 6.75 MB / 0.4982 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006764/1.111, allocations: 227.4 kB / 0.6958 GB, free: 6.527 MB / 0.4982 GB
Notification: Performance of SimCode: time 1.022e-06/1.111, allocations: 0 / 0.6958 GB, free: 6.527 MB / 0.4982 GB
Notification: Performance of Templates: time 0.09229/1.204, allocations: 44.21 MB / 0.7389 GB, free: 10.5 MB / 0.545 GB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 6.743097347207367]