Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001343/0.001343, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.001411/0.001411, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 8.012 MB / 206.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.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.1.0-beta.om_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.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 64.77 kB / 379.1 MB, free: 2.625 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.232, allocations: 53.38 MB / 432.4 MB, free: 6.941 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01576/0.2478, allocations: 14.01 MB / 446.4 MB, free: 8.867 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007761/0.2556, allocations: 3.87 MB / 450.3 MB, free: 4.984 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002143/0.2577, allocations: 115.5 kB / 450.4 MB, free: 4.871 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01259/0.2703, allocations: 5.607 MB / 456 MB, free: 15.25 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.005189/0.2755, allocations: 1.424 MB / 457.5 MB, free: 13.82 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.2791, allocations: 1.233 MB / 458.7 MB, free: 12.6 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.009673/0.2888, allocations: 6.496 MB / 465.2 MB, free: 6.082 MB / 366.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01684/0.3056, allocations: 8.646 MB / 473.8 MB, free: 13.32 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005663/0.3113, allocations: 3.363 MB / 477.2 MB, free: 9.945 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.006568/0.3179, allocations: 3.878 MB / 481.1 MB, free: 6.055 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002322/0.3202, allocations: 0.8867 MB / 482 MB, free: 5.168 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003213/0.3234, allocations: 1.09 MB / 483 MB, free: 4.078 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002626/0.326, allocations: 1.769 MB / 484.8 MB, free: 2.305 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.005699/0.3317, allocations: 3.572 MB / 488.4 MB, free: 14.71 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01481/0.3465, allocations: 11.99 MB / 0.4887 GB, free: 2.688 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3465, allocations: 0 / 0.4887 GB, free: 2.688 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.192e-06/0.3465, allocations: 0 / 0.4887 GB, free: 2.688 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 0.0003167/0.3469, allocations: 0 / 0.4887 GB, free: 2.688 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.02209/0.3689, allocations: 7.834 MB / 0.4963 GB, free: 10.79 MB / 414.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.369, allocations: 8.031 kB / 0.4963 GB, free: 10.78 MB / 414.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01935/0.3883, allocations: 2.873 MB / 0.4991 GB, free: 7.902 MB / 414.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008074/0.3964, allocations: 3.752 MB / 0.5028 GB, free: 4.102 MB / 414.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004683/0.3969, allocations: 481 kB / 0.5032 GB, free: 3.629 MB / 414.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001908/0.3988, allocations: 0.6249 MB / 0.5038 GB, free: 3.004 MB / 414.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02056/0.4193, allocations: 9.334 MB / 0.513 GB, free: 9.609 MB / 430.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001788/0.4195, allocations: 7.953 kB / 0.513 GB, free: 9.602 MB / 430.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001179/0.4207, allocations: 264 kB / 0.5132 GB, free: 9.344 MB / 430.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003177/0.421, allocations: 313.4 kB / 0.5135 GB, free: 9.035 MB / 430.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01674/0.4378, allocations: 7.977 MB / 0.5213 GB, free: 1.043 MB / 430.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2531/0.6908, allocations: 27.41 MB / 0.5481 GB, free: 83.96 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.007148/0.698, allocations: 3.953 MB / 0.5519 GB, free: 83.41 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002106/0.7001, allocations: 1.445 MB / 0.5533 GB, free: 82.92 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.7003, allocations: 86.17 kB / 0.5534 GB, free: 82.91 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/0.7004, allocations: 58.25 kB / 0.5535 GB, free: 82.86 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=238): time 4.288e-06/0.7004, allocations: 0 / 0.5535 GB, free: 82.86 MB / 446.1 MB
Notification: Performance of matching and sorting (n=238): time 0.006654/0.707, allocations: 4.034 MB / 0.5574 GB, free: 81.48 MB / 446.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.7071, allocations: 109.4 kB / 0.5575 GB, free: 81.38 MB / 446.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/0.7094, allocations: 1.904 MB / 0.5594 GB, free: 80.48 MB / 446.1 MB
Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.7096, allocations: 65.23 kB / 0.5594 GB, free: 80.41 MB / 446.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.001044/0.7106, allocations: 2.632 MB / 0.562 GB, free: 78.56 MB / 446.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.00044/0.711, allocations: 0.8494 MB / 0.5628 GB, free: 77.93 MB / 446.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008141/0.7119, allocations: 0.6774 MB / 0.5635 GB, free: 77.54 MB / 446.1 MB
Notification: Performance of setup shared object (initialization): time 3.777e-05/0.7119, allocations: 305.1 kB / 0.5638 GB, free: 77.24 MB / 446.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.001684/0.7136, allocations: 1.405 MB / 0.5652 GB, free: 76.52 MB / 446.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.002234/0.7158, allocations: 2.599 MB / 0.5677 GB, free: 74.22 MB / 446.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.003891/0.7197, allocations: 4.247 MB / 0.5719 GB, free: 71 MB / 446.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-05/0.7197, allocations: 8.75 kB / 0.5719 GB, free: 71 MB / 446.1 MB
Notification: Performance of matching and sorting (n=442) (initialization): time 0.005796/0.7255, allocations: 4.535 MB / 0.5763 GB, free: 66.97 MB / 446.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.208e-05/0.7256, allocations: 28 kB / 0.5763 GB, free: 66.95 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.298e-05/0.7256, allocations: 36 kB / 0.5764 GB, free: 66.91 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007161/0.7263, allocations: 313.5 kB / 0.5767 GB, free: 66.6 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002276/0.7286, allocations: 0.7816 MB / 0.5774 GB, free: 65.82 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004265/0.7329, allocations: 4.845 MB / 0.5822 GB, free: 60.78 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.7348, allocations: 422.6 kB / 0.5826 GB, free: 60.37 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002328/0.735, allocations: 168 kB / 0.5827 GB, free: 60.2 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.002626/0.7377, allocations: 2.187 MB / 0.5848 GB, free: 58 MB / 446.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003521/0.738, allocations: 222.6 kB / 0.5851 GB, free: 57.79 MB / 446.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/0.7421, allocations: 3.17 MB / 0.5882 GB, free: 54.58 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.7421, allocations: 27.98 kB / 0.5882 GB, free: 54.55 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/0.7422, allocations: 4 kB / 0.5882 GB, free: 54.55 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.743e-05/0.7422, allocations: 15.95 kB / 0.5882 GB, free: 54.54 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.7562, allocations: 11.02 MB / 0.599 GB, free: 43.32 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.422e-05/0.7562, allocations: 16 kB / 0.599 GB, free: 43.3 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/0.7577, allocations: 439.3 kB / 0.5994 GB, free: 42.87 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0005728/0.7583, allocations: 274.3 kB / 0.5997 GB, free: 42.6 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001405/0.7584, allocations: 67.98 kB / 0.5997 GB, free: 42.53 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.7622, allocations: 4.784 MB / 0.6044 GB, free: 37.53 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.598e-06/0.7622, allocations: 19.94 kB / 0.6044 GB, free: 37.51 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005245/0.7675, allocations: 5.018 MB / 0.6093 GB, free: 32.28 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0008858/0.7684, allocations: 489.8 kB / 0.6098 GB, free: 31.8 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000346/0.7687, allocations: 67.94 kB / 0.6098 GB, free: 31.73 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/0.77, allocations: 119.9 kB / 0.61 GB, free: 31.61 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002696/0.7703, allocations: 221.2 kB / 0.6102 GB, free: 31.39 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/0.7704, allocations: 87.92 kB / 0.6103 GB, free: 31.31 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.001574/0.772, allocations: 1.294 MB / 0.6115 GB, free: 30.02 MB / 446.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.772, allocations: 0 / 0.6115 GB, free: 30.02 MB / 446.1 MB
Notification: Performance of remove unused functions: time 0.003268/0.7753, allocations: 1.452 MB / 0.6129 GB, free: 28.56 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.0003627/0.7756, allocations: 210.7 kB / 0.6131 GB, free: 28.35 MB / 446.1 MB
Notification: Performance of simCode: created initialization part: time 0.004395/0.78, allocations: 3.503 MB / 0.6166 GB, free: 24.84 MB / 446.1 MB
Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.78, allocations: 4 kB / 0.6166 GB, free: 24.83 MB / 446.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.00183/0.7819, allocations: 1.6 MB / 0.6181 GB, free: 23.21 MB / 446.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.7843, allocations: 0.5205 MB / 0.6186 GB, free: 22.7 MB / 446.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.7986, allocations: 10.1 MB / 0.6285 GB, free: 12.38 MB / 446.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003861/0.8024, allocations: 4 MB / 0.6324 GB, free: 8.34 MB / 446.1 MB
Notification: Performance of simCode: alias equations: time 0.002743/0.8052, allocations: 1.191 MB / 0.6336 GB, free: 7.141 MB / 446.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006338/0.8058, allocations: 199.4 kB / 0.6338 GB, free: 6.945 MB / 446.1 MB
Notification: Performance of SimCode: time 9.32e-07/0.8058, allocations: 8 kB / 0.6338 GB, free: 6.938 MB / 446.1 MB
Notification: Performance of Templates: time 0.06265/0.8685, allocations: 35.07 MB / 0.668 GB, free: 4.082 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.92143905069679]