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.001353/0.001353, allocations: 113.1 kB / 21.85 MB, free: 68 kB / 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.001792/0.001792, allocations: 216.7 kB / 25.13 MB, free: 3.582 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.466/1.466, allocations: 230.2 MB / 258.5 MB, free: 8.23 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.2217/0.2217, allocations: 46.93 MB / 361.8 MB, free: 4.5 MB / 286.1 MB
"
[Timeout remaining time 180]
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.002413/0.002413, allocations: 83.84 kB / 0.4975 GB, free: 7.641 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4178/0.4202, allocations: 66.04 MB / 0.562 GB, free: 4.539 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01273/0.4329, allocations: 9.464 MB / 0.5712 GB, free: 11.03 MB / 414.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007368/0.4403, allocations: 2.831 MB / 0.574 GB, free: 8.191 MB / 414.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00179/0.4421, allocations: 87.56 kB / 0.5741 GB, free: 8.105 MB / 414.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.008771/0.4508, allocations: 3.78 MB / 0.5778 GB, free: 4.316 MB / 414.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003862/0.4547, allocations: 1.096 MB / 0.5788 GB, free: 3.219 MB / 414.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.4568, allocations: 0.7948 MB / 0.5796 GB, free: 2.422 MB / 414.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00605/0.4628, allocations: 4.879 MB / 0.5844 GB, free: 13.53 MB / 430.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.01253/0.4754, allocations: 7.362 MB / 0.5916 GB, free: 6.043 MB / 430.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.004737/0.4801, allocations: 2.852 MB / 0.5944 GB, free: 3.184 MB / 430.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005881/0.486, allocations: 3.158 MB / 0.5974 GB, free: 16 kB / 430.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.00244/0.4884, allocations: 0.7657 MB / 0.5982 GB, free: 15.25 MB / 446.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003425/0.4919, allocations: 0.9295 MB / 0.5991 GB, free: 14.32 MB / 446.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003369/0.4952, allocations: 1.617 MB / 0.6007 GB, free: 12.7 MB / 446.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.006051/0.5013, allocations: 3 MB / 0.6036 GB, free: 9.688 MB / 446.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01406/0.5153, allocations: 10.49 MB / 0.6138 GB, free: 15.17 MB / 462.1 MB
Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.5153, allocations: 4 kB / 0.6138 GB, free: 15.16 MB / 462.1 MB
Notification: Performance of FrontEnd: time 2.695e-06/0.5154, allocations: 0 / 0.6138 GB, free: 15.16 MB / 462.1 MB
Notification: Performance of Transformations before backend: time 0.0004108/0.5158, allocations: 0 / 0.6138 GB, free: 15.16 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.02062/0.5364, allocations: 6.344 MB / 0.62 GB, free: 8.762 MB / 462.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.5364, allocations: 12.03 kB / 0.6201 GB, free: 8.75 MB / 462.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02246/0.5589, allocations: 3.926 MB / 0.6239 GB, free: 4.816 MB / 462.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00762/0.5665, allocations: 3.257 MB / 0.6271 GB, free: 1.52 MB / 462.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004269/0.5669, allocations: 398.4 kB / 0.6274 GB, free: 1.129 MB / 462.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.569, allocations: 0.4922 MB / 0.6279 GB, free: 0.6367 MB / 462.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/0.5892, allocations: 8.708 MB / 0.6364 GB, free: 7.887 MB / 478.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0001354/0.5893, allocations: 7.953 kB / 0.6364 GB, free: 7.879 MB / 478.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000877/0.5902, allocations: 211.9 kB / 0.6366 GB, free: 7.672 MB / 478.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003684/0.5905, allocations: 343.1 kB / 0.637 GB, free: 7.332 MB / 478.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01582/0.6064, allocations: 8.035 MB / 0.6448 GB, free: 15.27 MB / 494.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04964/0.656, allocations: 25.15 MB / 0.6694 GB, free: 5.578 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.01159/0.6676, allocations: 4.574 MB / 0.6738 GB, free: 1.102 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.003132/0.6707, allocations: 1.479 MB / 0.6753 GB, free: 15.62 MB / 0.5137 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0002681/0.671, allocations: 77.88 kB / 0.6754 GB, free: 15.54 MB / 0.5137 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.213e-05/0.6711, allocations: 64.5 kB / 0.6754 GB, free: 15.47 MB / 0.5137 GB
Notification: Performance of pre-optimization done (n=214): time 5.179e-06/0.6711, allocations: 0 / 0.6754 GB, free: 15.47 MB / 0.5137 GB
Notification: Performance of matching and sorting (n=214): time 0.006609/0.6777, allocations: 3.523 MB / 0.6789 GB, free: 11.94 MB / 0.5137 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.531e-05/0.6778, allocations: 99.11 kB / 0.679 GB, free: 11.82 MB / 0.5137 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00652/0.6843, allocations: 3.433 MB / 0.6823 GB, free: 8.371 MB / 0.5137 GB
Notification: Performance of collectPreVariables (initialization): time 0.0002637/0.6845, allocations: 57.7 kB / 0.6824 GB, free: 8.309 MB / 0.5137 GB
Notification: Performance of collectInitialEqns (initialization): time 0.002029/0.6866, allocations: 2.234 MB / 0.6845 GB, free: 6.055 MB / 0.5137 GB
Notification: Performance of collectInitialBindings (initialization): time 0.00093/0.6875, allocations: 0.7748 MB / 0.6853 GB, free: 5.273 MB / 0.5137 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.001426/0.6889, allocations: 0.7069 MB / 0.686 GB, free: 4.559 MB / 0.5137 GB
Notification: Performance of setup shared object (initialization): time 0.0001457/0.6891, allocations: 305.1 kB / 0.6863 GB, free: 4.258 MB / 0.5137 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.00279/0.6919, allocations: 1.568 MB / 0.6878 GB, free: 2.688 MB / 0.5137 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.004451/0.6963, allocations: 3.183 MB / 0.6909 GB, free: 14.73 MB / 0.5294 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.007857/0.7042, allocations: 5.075 MB / 0.6959 GB, free: 8.883 MB / 0.5294 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.567e-05/0.7042, allocations: 16 kB / 0.6959 GB, free: 8.867 MB / 0.5294 GB
Notification: Performance of matching and sorting (n=442) (initialization): time 0.009779/0.714, allocations: 4.965 MB / 0.7007 GB, free: 3.895 MB / 0.5294 GB
Notification: Performance of prepare postOptimizeDAE: time 6.991e-05/0.7141, allocations: 32 kB / 0.7008 GB, free: 3.863 MB / 0.5294 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001288/0.7142, allocations: 60 kB / 0.7008 GB, free: 3.805 MB / 0.5294 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.7143, allocations: 76 kB / 0.7009 GB, free: 3.73 MB / 0.5294 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003447/0.7178, allocations: 0.9164 MB / 0.7018 GB, free: 2.812 MB / 0.5294 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001336/0.7179, allocations: 111.6 kB / 0.7019 GB, free: 2.703 MB / 0.5294 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/0.721, allocations: 0.578 MB / 0.7025 GB, free: 2.121 MB / 0.5294 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004177/0.7214, allocations: 192 kB / 0.7027 GB, free: 1.934 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.004273/0.7257, allocations: 2.073 MB / 0.7047 GB, free: 15.84 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007051/0.7264, allocations: 282.1 kB / 0.7049 GB, free: 15.57 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00635/0.7327, allocations: 3.175 MB / 0.708 GB, free: 12.36 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.252e-05/0.7327, allocations: 20 kB / 0.7081 GB, free: 12.34 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.314e-05/0.7327, allocations: 0 / 0.7081 GB, free: 12.34 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.499e-05/0.7328, allocations: 19.95 kB / 0.7081 GB, free: 12.32 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/0.7505, allocations: 8.641 MB / 0.7165 GB, free: 3.406 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.69e-05/0.7505, allocations: 16 kB / 0.7165 GB, free: 3.391 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002264/0.7528, allocations: 0.5617 MB / 0.7171 GB, free: 2.828 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.201e-05/0.7529, allocations: 31.98 kB / 0.7171 GB, free: 2.797 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000223/0.7531, allocations: 76.48 kB / 0.7172 GB, free: 2.723 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.79e-05/0.7531, allocations: 39.86 kB / 0.7172 GB, free: 2.684 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.157e-05/0.7532, allocations: 27.88 kB / 0.7173 GB, free: 2.656 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/0.7641, allocations: 5.265 MB / 0.7224 GB, free: 13.06 MB / 0.5606 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.002278/0.7664, allocations: 0.6457 MB / 0.723 GB, free: 12.41 MB / 0.5606 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007965/0.7672, allocations: 72 kB / 0.7231 GB, free: 12.34 MB / 0.5606 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/0.7695, allocations: 131.9 kB / 0.7232 GB, free: 12.21 MB / 0.5606 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005302/0.77, allocations: 225 kB / 0.7234 GB, free: 12 MB / 0.5606 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002424/0.7703, allocations: 104 kB / 0.7235 GB, free: 11.89 MB / 0.5606 GB
Notification: Performance of sorting global known variables: time 0.0054/0.7757, allocations: 2.384 MB / 0.7259 GB, free: 9.5 MB / 0.5606 GB
Notification: Performance of sort global known variables: time 1.41e-07/0.7757, allocations: 3.938 kB / 0.7259 GB, free: 9.496 MB / 0.5606 GB
Notification: Performance of remove unused functions: time 0.004143/0.7798, allocations: 1.114 MB / 0.727 GB, free: 8.379 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.0004625/0.7803, allocations: 222.5 kB / 0.7272 GB, free: 8.148 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.006019/0.7863, allocations: 3.473 MB / 0.7306 GB, free: 4.676 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 1.503e-05/0.7863, allocations: 0 / 0.7306 GB, free: 4.676 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.002618/0.7889, allocations: 1.479 MB / 0.732 GB, free: 3.203 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003268/0.7922, allocations: 0.5303 MB / 0.7325 GB, free: 2.68 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.329/1.121, allocations: 9.358 MB / 0.7417 GB, free: 148.8 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005546/1.127, allocations: 3.628 MB / 0.7452 GB, free: 147.8 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.003682/1.13, allocations: 1.475 MB / 0.7466 GB, free: 147.7 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009046/1.131, allocations: 264.2 kB / 0.7469 GB, free: 147.7 MB / 0.5606 GB
Notification: Performance of SimCode: time 1.944e-06/1.131, allocations: 0 / 0.7469 GB, free: 147.7 MB / 0.5606 GB
Notification: Performance of Templates: time 0.06029/1.192, allocations: 39.69 MB / 0.7857 GB, free: 113.7 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/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.3385519410076085]