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.00139/0.00139, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001517/0.001517, allocations: 214.5 kB / 24.48 MB, free: 3.836 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.616/1.616, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.2279/0.2279, allocations: 46.95 MB / 361.6 MB, free: 4.039 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|vC.2.|iL.1.|iL.2.|vC.3.|vC.1.|iL.3.",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002497/0.002497, allocations: 83.86 kB / 0.4974 GB, free: 7.086 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3364/0.3389, allocations: 66.08 MB / 0.5619 GB, free: 3.98 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.011/0.3499, allocations: 8.243 MB / 0.57 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006214/0.3561, allocations: 2.718 MB / 0.5726 GB, free: 8.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001755/0.3578, allocations: 87.56 kB / 0.5727 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008944/0.3668, allocations: 3.495 MB / 0.5761 GB, free: 5.387 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004328/0.3711, allocations: 1.076 MB / 0.5772 GB, free: 4.309 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002223/0.3733, allocations: 0.7597 MB / 0.5779 GB, free: 3.547 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006024/0.3794, allocations: 4.871 MB / 0.5827 GB, free: 14.66 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01142/0.3908, allocations: 7.698 MB / 0.5902 GB, free: 6.832 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004575/0.3954, allocations: 2.86 MB / 0.593 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005586/0.4009, allocations: 3.056 MB / 0.596 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002754/0.4037, allocations: 0.7656 MB / 0.5967 GB, free: 136 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.407, allocations: 0.9295 MB / 0.5976 GB, free: 15.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002092/0.4091, allocations: 1.609 MB / 0.5992 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004807/0.4139, allocations: 2.335 MB / 0.6015 GB, free: 11.25 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01299/0.4268, allocations: 10.54 MB / 0.6118 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.4268, allocations: 0 / 0.6118 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4269, allocations: 0 / 0.6118 GB, free: 0.6719 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002893/0.4271, allocations: 0 / 0.6118 GB, free: 0.6719 MB / 446.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.01972/0.4469, allocations: 6.347 MB / 0.618 GB, free: 10.27 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.4469, allocations: 12.03 kB / 0.618 GB, free: 10.25 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02356/0.4705, allocations: 3.922 MB / 0.6218 GB, free: 6.324 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008097/0.4786, allocations: 3.268 MB / 0.625 GB, free: 3.016 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005077/0.4791, allocations: 390.5 kB / 0.6254 GB, free: 2.633 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/0.4814, allocations: 0.4961 MB / 0.6258 GB, free: 2.137 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02353/0.5049, allocations: 8.707 MB / 0.6343 GB, free: 9.387 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002404/0.5051, allocations: 3.953 kB / 0.6344 GB, free: 9.383 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001828/0.507, allocations: 212 kB / 0.6346 GB, free: 9.176 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004418/0.5074, allocations: 339.1 kB / 0.6349 GB, free: 8.84 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01867/0.5261, allocations: 8.003 MB / 0.6427 GB, free: 0.8125 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0468/0.5729, allocations: 21.98 MB / 0.6642 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.5847, allocations: 4.566 MB / 0.6686 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002949/0.5876, allocations: 1.475 MB / 0.6701 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002644/0.5879, allocations: 65.94 kB / 0.6701 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/0.588, allocations: 56.5 kB / 0.6702 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 5.54e-06/0.588, allocations: 0 / 0.6702 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006417/0.5944, allocations: 3.453 MB / 0.6735 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.5945, allocations: 99.11 kB / 0.6736 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004677/0.5991, allocations: 1.992 MB / 0.6756 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.5994, allocations: 61.7 kB / 0.6756 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002285/0.6017, allocations: 2.268 MB / 0.6779 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.6027, allocations: 0.7787 MB / 0.6786 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/0.6043, allocations: 0.7147 MB / 0.6793 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6044, allocations: 305.1 kB / 0.6796 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002865/0.6072, allocations: 1.564 MB / 0.6811 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004251/0.6115, allocations: 3.191 MB / 0.6842 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006973/0.6185, allocations: 5.079 MB / 0.6892 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.524e-05/0.6185, allocations: 23.88 kB / 0.6892 GB, free: 15.08 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008903/0.6274, allocations: 4.882 MB / 0.694 GB, free: 10.19 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.6275, allocations: 30.03 kB / 0.694 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000102/0.6276, allocations: 56 kB / 0.6941 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000102/0.6277, allocations: 76 kB / 0.6942 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003231/0.6309, allocations: 0.917 MB / 0.6951 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001364/0.6311, allocations: 111.6 kB / 0.6952 GB, free: 9.008 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002733/0.6338, allocations: 481 kB / 0.6956 GB, free: 8.535 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004357/0.6342, allocations: 192 kB / 0.6958 GB, free: 8.348 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.00376/0.638, allocations: 2.085 MB / 0.6978 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005475/0.6386, allocations: 198.7 kB / 0.698 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005865/0.6444, allocations: 3.099 MB / 0.7011 GB, free: 2.93 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.58e-05/0.6444, allocations: 24 kB / 0.7011 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.6445, allocations: 0 / 0.7011 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.718e-05/0.6445, allocations: 11.95 kB / 0.7011 GB, free: 2.895 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01611/0.6606, allocations: 7.576 MB / 0.7085 GB, free: 11.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.505e-05/0.6607, allocations: 16 kB / 0.7085 GB, free: 11.04 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002241/0.6629, allocations: 0.5617 MB / 0.709 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.365e-05/0.6629, allocations: 28 kB / 0.7091 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002511/0.6632, allocations: 71.97 kB / 0.7091 GB, free: 10.38 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.259e-05/0.6632, allocations: 39.86 kB / 0.7092 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.486e-05/0.6633, allocations: 27.88 kB / 0.7092 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008276/0.6715, allocations: 5.194 MB / 0.7143 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/0.6731, allocations: 489.8 kB / 0.7147 GB, free: 4.316 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004951/0.6736, allocations: 67.98 kB / 0.7148 GB, free: 4.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.675, allocations: 127.9 kB / 0.7149 GB, free: 4.125 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004001/0.6754, allocations: 233.3 kB / 0.7152 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001775/0.6756, allocations: 91.98 kB / 0.7152 GB, free: 3.805 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002567/0.6782, allocations: 1.298 MB / 0.7165 GB, free: 2.508 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6782, allocations: 0 / 0.7165 GB, free: 2.508 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004274/0.6824, allocations: 1.203 MB / 0.7177 GB, free: 1.301 MB / 0.545 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.0006046/0.683, allocations: 226.2 kB / 0.7179 GB, free: 1.07 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006683/0.6897, allocations: 3.478 MB / 0.7213 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-05/0.6898, allocations: 4 kB / 0.7213 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002769/0.6925, allocations: 1.475 MB / 0.7227 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00336/0.6959, allocations: 483.8 kB / 0.7232 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/0.7147, allocations: 9.003 MB / 0.732 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2957/1.01, allocations: 3.011 MB / 0.7349 GB, free: 149 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/1.012, allocations: 257.3 kB / 0.7352 GB, free: 149 MB / 0.5606 GB Notification: Performance of SimCode: time 1.203e-06/1.012, allocations: 0.5312 kB / 0.7352 GB, free: 149 MB / 0.5606 GB Notification: Performance of Templates: time 0.0696/1.081, allocations: 56.15 MB / 0.79 GB, free: 106 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/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_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: 12.955868972931057]