Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001508/0.001508, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001598/0.001598, allocations: 190 kB / 23.72 MB, free: 4.68 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.425/1.425, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad")
translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 51.92 kB / 371 MB, free: 9.332 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2426/0.2441, allocations: 52.17 MB / 423.1 MB, free: 14.68 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01639/0.2605, allocations: 14.02 MB / 437.1 MB, free: 0.5938 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00958/0.2701, allocations: 3.796 MB / 440.9 MB, free: 12.79 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.003243/0.2734, allocations: 119.4 kB / 441.1 MB, free: 12.67 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01369/0.287, allocations: 5.613 MB / 446.7 MB, free: 7.043 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006671/0.2937, allocations: 1.579 MB / 448.3 MB, free: 5.461 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003969/0.2977, allocations: 1.088 MB / 449.3 MB, free: 4.379 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01044/0.3081, allocations: 6.394 MB / 455.7 MB, free: 13.96 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01491/0.323, allocations: 8.634 MB / 464.4 MB, free: 5.211 MB / 366.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005399/0.3284, allocations: 3.367 MB / 467.7 MB, free: 1.836 MB / 366.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.007242/0.3357, allocations: 3.886 MB / 471.6 MB, free: 13.94 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002527/0.3382, allocations: 0.8828 MB / 472.5 MB, free: 13.05 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003174/0.3414, allocations: 1.066 MB / 473.6 MB, free: 11.99 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002112/0.3435, allocations: 1.773 MB / 475.3 MB, free: 10.21 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.006055/0.3495, allocations: 3.568 MB / 478.9 MB, free: 6.629 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01427/0.3638, allocations: 11.98 MB / 490.9 MB, free: 10.61 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.035e-06/0.3638, allocations: 4 kB / 490.9 MB, free: 10.61 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.924e-06/0.3638, allocations: 0 / 490.9 MB, free: 10.61 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 0.0002886/0.3641, allocations: 0 / 490.9 MB, free: 10.61 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: 1730
 * Number of variables: 1730
Notification: Performance of Generate backend data structure: time 0.02272/0.3868, allocations: 7.833 MB / 498.7 MB, free: 2.711 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.3869, allocations: 8.031 kB / 498.7 MB, free: 2.703 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02021/0.4071, allocations: 2.916 MB / 0.4899 GB, free: 15.78 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008429/0.4155, allocations: 3.728 MB / 0.4935 GB, free: 12 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004954/0.416, allocations: 488.9 kB / 0.494 GB, free: 11.52 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001986/0.418, allocations: 0.6249 MB / 0.4946 GB, free: 10.9 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0225/0.4405, allocations: 9.31 MB / 0.5037 GB, free: 1.527 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002058/0.4407, allocations: 7.953 kB / 0.5037 GB, free: 1.52 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001306/0.442, allocations: 260 kB / 0.504 GB, free: 1.266 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003471/0.4424, allocations: 325.3 kB / 0.5043 GB, free: 0.9453 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01661/0.459, allocations: 7.95 MB / 0.512 GB, free: 8.98 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2528/0.7118, allocations: 27.37 MB / 0.5388 GB, free: 90.34 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007616/0.7194, allocations: 3.955 MB / 0.5426 GB, free: 90.24 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.7214, allocations: 1.448 MB / 0.544 GB, free: 90.21 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/0.7215, allocations: 58.33 kB / 0.5441 GB, free: 90.21 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.433e-05/0.7216, allocations: 59.59 kB / 0.5441 GB, free: 90.17 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=238): time 4.409e-06/0.7216, allocations: 0 / 0.5441 GB, free: 90.17 MB / 446.1 MB
Notification: Performance of matching and sorting (n=238): time 0.007193/0.7288, allocations: 4.013 MB / 0.5481 GB, free: 90.06 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.7288, allocations: 103.4 kB / 0.5482 GB, free: 89.97 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/0.7311, allocations: 1.898 MB / 0.55 GB, free: 89.81 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001706/0.7313, allocations: 68.3 kB / 0.5501 GB, free: 89.78 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001098/0.7324, allocations: 2.637 MB / 0.5527 GB, free: 88.7 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0004878/0.7329, allocations: 0.8565 MB / 0.5535 GB, free: 88.25 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000746/0.7336, allocations: 0.6662 MB / 0.5541 GB, free: 87.94 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 4.402e-05/0.7337, allocations: 301.1 kB / 0.5544 GB, free: 87.64 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001725/0.7354, allocations: 1.402 MB / 0.5558 GB, free: 87.16 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002043/0.7375, allocations: 2.593 MB / 0.5583 GB, free: 85.16 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003764/0.7412, allocations: 4.241 MB / 0.5625 GB, free: 82.28 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.06e-05/0.7412, allocations: 14.34 kB / 0.5625 GB, free: 82.27 MB / 446.1 MB
Notification: Performance of matching and sorting (n=442) (initialization): time 0.005667/0.7469, allocations: 4.513 MB / 0.5669 GB, free: 80.15 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.7469, allocations: 23.03 kB / 0.5669 GB, free: 80.15 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.844e-05/0.747, allocations: 39.78 kB / 0.567 GB, free: 80.15 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007401/0.7477, allocations: 312.5 kB / 0.5673 GB, free: 80.03 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/0.7501, allocations: 0.7869 MB / 0.568 GB, free: 79.84 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/0.7543, allocations: 4.828 MB / 0.5727 GB, free: 75.24 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002199/0.7565, allocations: 423.5 kB / 0.5731 GB, free: 74.83 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/0.7567, allocations: 164 kB / 0.5733 GB, free: 74.67 MB / 446.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 174
 * 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 (414):
 * Single equations (assignments): 412
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(2,22,100.0%), (1,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.00299/0.7597, allocations: 2.187 MB / 0.5754 GB, free: 72.47 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003662/0.7601, allocations: 218.6 kB / 0.5756 GB, free: 72.25 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004379/0.7644, allocations: 3.174 MB / 0.5787 GB, free: 69.05 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-05/0.7644, allocations: 24 kB / 0.5788 GB, free: 69.03 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.7645, allocations: 7.984 kB / 0.5788 GB, free: 69.02 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.983e-05/0.7645, allocations: 15.89 kB / 0.5788 GB, free: 69 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01513/0.7796, allocations: 10.93 MB / 0.5895 GB, free: 57.87 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/0.7796, allocations: 17 kB / 0.5895 GB, free: 57.86 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001555/0.7812, allocations: 435.3 kB / 0.5899 GB, free: 57.43 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0006111/0.7818, allocations: 272.4 kB / 0.5901 GB, free: 57.16 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001252/0.7819, allocations: 71.94 kB / 0.5902 GB, free: 57.09 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004042/0.7859, allocations: 4.793 MB / 0.5949 GB, free: 52.08 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.939e-06/0.786, allocations: 19.94 kB / 0.5949 GB, free: 52.06 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0058/0.7918, allocations: 4.995 MB / 0.5998 GB, free: 46.85 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.001177/0.7929, allocations: 477.8 kB / 0.6003 GB, free: 46.38 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004412/0.7934, allocations: 63.98 kB / 0.6003 GB, free: 46.32 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/0.795, allocations: 123.9 kB / 0.6004 GB, free: 46.2 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003198/0.7953, allocations: 213.3 kB / 0.6006 GB, free: 45.99 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.7954, allocations: 90.94 kB / 0.6007 GB, free: 45.91 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.001874/0.7973, allocations: 1.294 MB / 0.602 GB, free: 44.62 MB / 446.1 MB
Notification: Performance of sort global known variables: time 1.4e-07/0.7973, allocations: 0 / 0.602 GB, free: 44.62 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003841/0.8011, allocations: 1.448 MB / 0.6034 GB, free: 43.16 MB / 446.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 62
 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226):
 * Single equations (assignments): 224
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(2,22,100.0%), (1,5,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004395/0.8016, allocations: 226.5 kB / 0.6036 GB, free: 42.94 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004784/0.8064, allocations: 3.483 MB / 0.607 GB, free: 39.43 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.063e-05/0.8064, allocations: 8.062 kB / 0.607 GB, free: 39.43 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001957/0.8083, allocations: 1.588 MB / 0.6086 GB, free: 37.82 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.8115, allocations: 0.5142 MB / 0.6091 GB, free: 37.31 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.8271, allocations: 10.13 MB / 0.619 GB, free: 26.96 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003126/0.8302, allocations: 4 MB / 0.6229 GB, free: 22.93 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.002606/0.8328, allocations: 1.195 MB / 0.624 GB, free: 21.72 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004936/0.8333, allocations: 191.4 kB / 0.6242 GB, free: 21.54 MB / 446.1 MB
Notification: Performance of SimCode: time 1.112e-06/0.8333, allocations: 0 / 0.6242 GB, free: 21.54 MB / 446.1 MB
Notification: Performance of Templates: time 0.05713/0.8904, allocations: 34.76 MB / 0.6582 GB, free: 2.988 MB / 462.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.826930613256991]