Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.001859/0.001859, 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.002462/0.002462, allocations: 213.9 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.545/1.545, allocations: 230.3 MB / 258 MB, free: 8.227 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2458/0.2458, allocations: 46.93 MB / 361.4 MB, free: 4.414 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo)
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(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep")
translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660]
"Warning: Requested package Modelica 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.002665/0.002665, allocations: 79.86 kB / 0.4972 GB, free: 7.527 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3701, allocations: 66.03 MB / 0.5616 GB, free: 4.535 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01131/0.3814, allocations: 9.499 MB / 0.5709 GB, free: 10.99 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.005992/0.3874, allocations: 2.85 MB / 0.5737 GB, free: 8.133 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.3886, allocations: 87.56 kB / 0.5738 GB, free: 8.047 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.008333/0.3969, allocations: 3.791 MB / 0.5775 GB, free: 4.246 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003942/0.4009, allocations: 1.096 MB / 0.5786 GB, free: 3.148 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.403, allocations: 0.7947 MB / 0.5793 GB, free: 2.352 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.006176/0.4092, allocations: 4.875 MB / 0.5841 GB, free: 13.46 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01281/0.422, allocations: 7.362 MB / 0.5913 GB, free: 5.977 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005192/0.4272, allocations: 2.852 MB / 0.5941 GB, free: 3.117 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005736/0.4329, allocations: 3.158 MB / 0.5972 GB, free: 15.95 MB / 446.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001998/0.4349, allocations: 0.7656 MB / 0.5979 GB, free: 15.18 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002877/0.4378, allocations: 0.9333 MB / 0.5988 GB, free: 14.25 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002484/0.4403, allocations: 1.606 MB / 0.6004 GB, free: 12.64 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.005085/0.4453, allocations: 3.012 MB / 0.6033 GB, free: 9.617 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.013/0.4583, allocations: 10.49 MB / 0.6136 GB, free: 15.09 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.4583, allocations: 0 / 0.6136 GB, free: 15.09 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.493e-06/0.4583, allocations: 0 / 0.6136 GB, free: 15.09 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 0.0003173/0.4587, allocations: 4 kB / 0.6136 GB, free: 15.09 MB / 462.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 1440
 * Number of variables: 1440
Notification: Performance of Generate backend data structure: time 0.01899/0.4777, allocations: 6.343 MB / 0.6198 GB, free: 8.688 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.4777, allocations: 8.031 kB / 0.6198 GB, free: 8.68 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02204/0.4997, allocations: 3.934 MB / 0.6236 GB, free: 4.738 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.007642/0.5074, allocations: 3.257 MB / 0.6268 GB, free: 1.441 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004484/0.5078, allocations: 394.5 kB / 0.6272 GB, free: 1.055 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001902/0.5097, allocations: 0.4998 MB / 0.6277 GB, free: 0.5547 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0227/0.5324, allocations: 8.704 MB / 0.6362 GB, free: 7.809 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001925/0.5326, allocations: 7.938 kB / 0.6362 GB, free: 7.801 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001515/0.5341, allocations: 216 kB / 0.6364 GB, free: 7.59 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004241/0.5346, allocations: 343.1 kB / 0.6367 GB, free: 7.25 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/0.553, allocations: 8.035 MB / 0.6446 GB, free: 15.19 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05021/0.6032, allocations: 25.28 MB / 0.6692 GB, free: 5.367 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.6146, allocations: 4.625 MB / 0.6738 GB, free: 0.8398 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.00306/0.6177, allocations: 1.487 MB / 0.6752 GB, free: 15.35 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0003124/0.618, allocations: 73.88 kB / 0.6753 GB, free: 15.27 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.339e-05/0.6181, allocations: 60.56 kB / 0.6753 GB, free: 15.21 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=214): time 5e-06/0.6181, allocations: 0 / 0.6753 GB, free: 15.21 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=214): time 0.006942/0.625, allocations: 3.523 MB / 0.6788 GB, free: 11.68 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 9.472e-05/0.6251, allocations: 99.11 kB / 0.6789 GB, free: 11.56 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006615/0.6318, allocations: 3.433 MB / 0.6822 GB, free: 8.109 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002698/0.632, allocations: 61.7 kB / 0.6823 GB, free: 8.043 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.00206/0.6341, allocations: 2.226 MB / 0.6845 GB, free: 5.797 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.001076/0.6352, allocations: 0.7826 MB / 0.6852 GB, free: 5.008 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.6367, allocations: 0.7069 MB / 0.6859 GB, free: 4.293 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001348/0.6368, allocations: 301.1 kB / 0.6862 GB, free: 3.996 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/0.6399, allocations: 1.568 MB / 0.6877 GB, free: 2.426 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.005037/0.6449, allocations: 3.195 MB / 0.6908 GB, free: 14.46 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.00782/0.6527, allocations: 5.079 MB / 0.6958 GB, free: 8.605 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.075e-05/0.6528, allocations: 16 kB / 0.6958 GB, free: 8.59 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=442) (initialization): time 0.009857/0.6627, allocations: 4.96 MB / 0.7007 GB, free: 3.621 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 6.383e-05/0.6627, allocations: 28 kB / 0.7007 GB, free: 3.594 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001017/0.6628, allocations: 56 kB / 0.7007 GB, free: 3.539 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001139/0.6629, allocations: 76.72 kB / 0.7008 GB, free: 3.465 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003215/0.6662, allocations: 0.9203 MB / 0.7017 GB, free: 2.543 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001383/0.6663, allocations: 111.6 kB / 0.7018 GB, free: 2.434 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/0.6694, allocations: 0.5741 MB / 0.7024 GB, free: 1.855 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004135/0.6698, allocations: 196 kB / 0.7026 GB, free: 1.664 MB / 0.5294 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 252
 * 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 (442):
 * Single equations (assignments): 442
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.004056/0.6739, allocations: 2.077 MB / 0.7046 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006728/0.6745, allocations: 278.1 kB / 0.7049 GB, free: 15.3 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006534/0.6811, allocations: 3.176 MB / 0.708 GB, free: 12.1 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/0.6811, allocations: 24 kB / 0.708 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.851e-05/0.6811, allocations: 0 / 0.708 GB, free: 12.07 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.593e-05/0.6811, allocations: 11.95 kB / 0.708 GB, free: 12.06 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01859/0.6997, allocations: 8.649 MB / 0.7164 GB, free: 3.133 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.686e-05/0.6998, allocations: 16.22 kB / 0.7165 GB, free: 3.117 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00225/0.702, allocations: 0.5695 MB / 0.717 GB, free: 2.547 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.853e-05/0.7021, allocations: 24 kB / 0.717 GB, free: 2.523 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002328/0.7023, allocations: 75.98 kB / 0.7171 GB, free: 2.449 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.505e-05/0.7024, allocations: 43.86 kB / 0.7172 GB, free: 2.406 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.353e-05/0.7024, allocations: 27.88 kB / 0.7172 GB, free: 2.379 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008347/0.7107, allocations: 5.272 MB / 0.7223 GB, free: 12.78 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.00192/0.7127, allocations: 0.6457 MB / 0.723 GB, free: 12.13 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007576/0.7134, allocations: 75.94 kB / 0.723 GB, free: 12.05 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/0.7151, allocations: 119.9 kB / 0.7232 GB, free: 11.94 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004058/0.7155, allocations: 229.3 kB / 0.7234 GB, free: 11.71 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002027/0.7157, allocations: 95.98 kB / 0.7235 GB, free: 11.62 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.005196/0.7209, allocations: 2.392 MB / 0.7258 GB, free: 9.215 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 6e-08/0.7209, allocations: 0 / 0.7258 GB, free: 9.215 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.005173/0.7261, allocations: 1.106 MB / 0.7269 GB, free: 8.105 MB / 0.5606 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 73
 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.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 (275):
 * Single equations (assignments): 275
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.0007537/0.7268, allocations: 226.5 kB / 0.7271 GB, free: 7.875 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.007487/0.7343, allocations: 3.473 MB / 0.7305 GB, free: 4.398 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 2.746e-05/0.7344, allocations: 4.688 kB / 0.7305 GB, free: 4.395 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.003218/0.7376, allocations: 1.474 MB / 0.7319 GB, free: 2.926 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004367/0.7419, allocations: 0.5341 MB / 0.7325 GB, free: 2.398 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3198/1.062, allocations: 9.355 MB / 0.7416 GB, free: 148.8 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003091/1.065, allocations: 3.637 MB / 0.7451 GB, free: 147.7 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.002927/1.068, allocations: 1.468 MB / 0.7466 GB, free: 147.6 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00065/1.068, allocations: 258.9 kB / 0.7468 GB, free: 147.6 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.112e-06/1.068, allocations: 0 / 0.7468 GB, free: 147.6 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05825/1.127, allocations: 39.7 MB / 0.7856 GB, free: 113.5 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660]
(rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.264898061752319]