Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001439/0.001439, 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.001701/0.001701, allocations: 213.3 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.525/1.525, allocations: 230.3 MB / 258 MB, free: 8.277 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2262/0.2262, allocations: 46.9 MB / 361.3 MB, free: 4.445 MB / 286.1 MB
"
[Timeout remaining time 180]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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|iL.1.|iL.2.|iL.3.|vC.1.|vC.2.|vC.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep")
translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|iL.1.|iL.2.|iL.3.|vC.1.|vC.2.|vC.3.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00225/0.00225, allocations: 79.86 kB / 0.497 GB, free: 7.602 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3479, allocations: 66.04 MB / 0.5615 GB, free: 4.625 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01207/0.36, allocations: 9.484 MB / 0.5708 GB, free: 11.1 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006255/0.3662, allocations: 2.854 MB / 0.5736 GB, free: 8.234 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001883/0.3681, allocations: 87.56 kB / 0.5737 GB, free: 8.148 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.009269/0.3774, allocations: 3.791 MB / 0.5774 GB, free: 4.348 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.004718/0.3821, allocations: 1.1 MB / 0.5784 GB, free: 3.246 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002843/0.385, allocations: 0.7947 MB / 0.5792 GB, free: 2.449 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.008335/0.3933, allocations: 4.859 MB / 0.584 GB, free: 13.57 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01658/0.4099, allocations: 7.365 MB / 0.5912 GB, free: 6.086 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005629/0.4155, allocations: 2.86 MB / 0.594 GB, free: 3.219 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.006554/0.4221, allocations: 3.162 MB / 0.597 GB, free: 48 kB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.002709/0.4248, allocations: 0.7657 MB / 0.5978 GB, free: 15.28 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003487/0.4283, allocations: 0.9295 MB / 0.5987 GB, free: 14.35 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.002851/0.4311, allocations: 1.606 MB / 0.6003 GB, free: 12.74 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.00765/0.4388, allocations: 3.012 MB / 0.6032 GB, free: 9.719 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01534/0.4541, allocations: 10.49 MB / 0.6135 GB, free: 15.2 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.4541, allocations: 0 / 0.6135 GB, free: 15.2 MB / 462.1 MB
Notification: Performance of FrontEnd: time 1.803e-06/0.4541, allocations: 0 / 0.6135 GB, free: 15.2 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 0.0003278/0.4544, allocations: 0 / 0.6135 GB, free: 15.2 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.02218/0.4766, allocations: 6.351 MB / 0.6197 GB, free: 8.785 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4767, allocations: 8.031 kB / 0.6197 GB, free: 8.777 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02336/0.5, allocations: 3.93 MB / 0.6235 GB, free: 4.84 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.008443/0.5085, allocations: 3.257 MB / 0.6267 GB, free: 1.543 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005058/0.509, allocations: 394.4 kB / 0.6271 GB, free: 1.156 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002376/0.5114, allocations: 0.5038 MB / 0.6275 GB, free: 0.6523 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.02011/0.5315, allocations: 8.7 MB / 0.636 GB, free: 7.91 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.5316, allocations: 3.953 kB / 0.636 GB, free: 7.906 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006687/0.5322, allocations: 216 kB / 0.6363 GB, free: 7.695 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003896/0.5326, allocations: 339.1 kB / 0.6366 GB, free: 7.359 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01638/0.549, allocations: 8.042 MB / 0.6444 GB, free: 15.29 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04505/0.5941, allocations: 25.28 MB / 0.6691 GB, free: 5.465 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01146/0.6055, allocations: 4.621 MB / 0.6736 GB, free: 0.9414 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.002638/0.6082, allocations: 1.483 MB / 0.6751 GB, free: 15.45 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.6084, allocations: 73.88 kB / 0.6752 GB, free: 15.38 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.6084, allocations: 60.56 kB / 0.6752 GB, free: 15.31 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=214): time 3.917e-06/0.6084, allocations: 0 / 0.6752 GB, free: 15.31 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=214): time 0.006234/0.6146, allocations: 3.527 MB / 0.6787 GB, free: 11.78 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.263e-05/0.6147, allocations: 99.11 kB / 0.6788 GB, free: 11.66 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005863/0.6206, allocations: 3.43 MB / 0.6821 GB, free: 8.215 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0003347/0.6209, allocations: 61.7 kB / 0.6822 GB, free: 8.148 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.001934/0.6228, allocations: 2.226 MB / 0.6843 GB, free: 5.902 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0009651/0.6238, allocations: 0.7826 MB / 0.6851 GB, free: 5.113 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001081/0.6249, allocations: 0.7069 MB / 0.6858 GB, free: 4.398 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001362/0.625, allocations: 301.1 kB / 0.6861 GB, free: 4.102 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.002619/0.6276, allocations: 1.576 MB / 0.6876 GB, free: 2.523 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004206/0.6319, allocations: 3.191 MB / 0.6907 GB, free: 14.56 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007109/0.639, allocations: 5.083 MB / 0.6957 GB, free: 8.703 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.141e-05/0.639, allocations: 16 kB / 0.6957 GB, free: 8.688 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=442) (initialization): time 0.008628/0.6476, allocations: 4.956 MB / 0.7005 GB, free: 3.723 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 4.988e-05/0.6477, allocations: 28 kB / 0.7006 GB, free: 3.695 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-05/0.6477, allocations: 56 kB / 0.7006 GB, free: 3.641 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 8.673e-05/0.6478, allocations: 76 kB / 0.7007 GB, free: 3.566 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/0.651, allocations: 0.9126 MB / 0.7016 GB, free: 2.652 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001104/0.6511, allocations: 111.8 kB / 0.7017 GB, free: 2.543 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.6539, allocations: 0.578 MB / 0.7023 GB, free: 1.961 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002866/0.6542, allocations: 192 kB / 0.7024 GB, free: 1.773 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.003434/0.6576, allocations: 2.077 MB / 0.7045 GB, free: 15.68 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005783/0.6582, allocations: 282 kB / 0.7047 GB, free: 15.4 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005801/0.664, allocations: 3.179 MB / 0.7078 GB, free: 12.2 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.333e-05/0.664, allocations: 28 kB / 0.7079 GB, free: 12.17 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.664, allocations: 0 / 0.7079 GB, free: 12.17 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.26e-05/0.6641, allocations: 11.95 kB / 0.7079 GB, free: 12.16 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.6793, allocations: 8.645 MB / 0.7163 GB, free: 3.234 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/0.6794, allocations: 16 kB / 0.7163 GB, free: 3.219 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/0.6815, allocations: 0.5662 MB / 0.7169 GB, free: 2.652 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.971e-05/0.6815, allocations: 28 kB / 0.7169 GB, free: 2.625 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001658/0.6817, allocations: 79.98 kB / 0.717 GB, free: 2.547 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.255e-05/0.6817, allocations: 39.86 kB / 0.717 GB, free: 2.508 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-05/0.6818, allocations: 27.88 kB / 0.7171 GB, free: 2.48 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/0.6893, allocations: 5.268 MB / 0.7222 GB, free: 12.88 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.001763/0.6911, allocations: 0.6497 MB / 0.7228 GB, free: 12.23 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/0.6915, allocations: 68 kB / 0.7229 GB, free: 12.16 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001298/0.6928, allocations: 123.9 kB / 0.723 GB, free: 12.04 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003998/0.6932, allocations: 229 kB / 0.7232 GB, free: 11.82 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001545/0.6934, allocations: 95.97 kB / 0.7233 GB, free: 11.73 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.003959/0.6974, allocations: 2.392 MB / 0.7257 GB, free: 9.324 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 9e-08/0.6974, allocations: 0 / 0.7257 GB, free: 9.324 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.003885/0.7012, allocations: 1.11 MB / 0.7268 GB, free: 8.211 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.0005037/0.7017, allocations: 226.5 kB / 0.727 GB, free: 7.977 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.006044/0.7078, allocations: 3.473 MB / 0.7304 GB, free: 4.5 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 1.462e-05/0.7078, allocations: 4 kB / 0.7304 GB, free: 4.496 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.002614/0.7104, allocations: 1.476 MB / 0.7318 GB, free: 3.027 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003288/0.7137, allocations: 0.5267 MB / 0.7323 GB, free: 2.504 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2961/1.01, allocations: 9.363 MB / 0.7415 GB, free: 150.1 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003303/1.013, allocations: 3.631 MB / 0.745 GB, free: 149.1 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.002715/1.016, allocations: 1.477 MB / 0.7465 GB, free: 149 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006028/1.016, allocations: 256.4 kB / 0.7467 GB, free: 149 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.232e-06/1.016, allocations: 0 / 0.7467 GB, free: 149 MB / 0.5606 GB
Notification: Performance of Templates: time 0.05506/1.071, allocations: 39.69 MB / 0.7855 GB, free: 114.9 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.18114132899791]