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.001426/0.001426, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002048/0.002048, allocations: 203.5 kB / 23.72 MB, free: 4.391 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.563/1.563, allocations: 230.5 MB / 257.4 MB, free: 7.738 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.2754/0.2754, allocations: 46.94 MB / 360.8 MB, free: 3.996 MB / 286.1 MB " [Timeout remaining time 179] 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.002401/0.002401, allocations: 83.86 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4065, allocations: 66.09 MB / 0.5612 GB, free: 3.949 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01162/0.4181, allocations: 8.235 MB / 0.5692 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007132/0.4252, allocations: 2.733 MB / 0.5719 GB, free: 8.934 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001702/0.4269, allocations: 87.56 kB / 0.572 GB, free: 8.848 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008753/0.4357, allocations: 3.487 MB / 0.5754 GB, free: 5.352 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005428/0.4411, allocations: 1.079 MB / 0.5764 GB, free: 4.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00345/0.4446, allocations: 0.7625 MB / 0.5772 GB, free: 3.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007348/0.4519, allocations: 4.867 MB / 0.5819 GB, free: 14.62 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01589/0.4678, allocations: 7.699 MB / 0.5894 GB, free: 6.801 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005474/0.4733, allocations: 2.849 MB / 0.5922 GB, free: 3.945 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006042/0.4793, allocations: 3.064 MB / 0.5952 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002505/0.4818, allocations: 0.7656 MB / 0.596 GB, free: 108 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00364/0.4855, allocations: 0.9334 MB / 0.5969 GB, free: 15.17 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003067/0.4885, allocations: 1.605 MB / 0.5984 GB, free: 13.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005849/0.4944, allocations: 2.339 MB / 0.6007 GB, free: 11.21 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01394/0.5083, allocations: 10.54 MB / 0.611 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5083, allocations: 0 / 0.611 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.5083, allocations: 4 kB / 0.611 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003163/0.5087, allocations: 0 / 0.611 GB, free: 0.6406 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.02131/0.53, allocations: 6.347 MB / 0.6172 GB, free: 10.23 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.53, allocations: 8.031 kB / 0.6172 GB, free: 10.23 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02308/0.5531, allocations: 3.926 MB / 0.6211 GB, free: 6.293 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009155/0.5623, allocations: 3.261 MB / 0.6242 GB, free: 2.992 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005332/0.5628, allocations: 386.5 kB / 0.6246 GB, free: 2.613 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.5652, allocations: 0.5 MB / 0.6251 GB, free: 2.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02581/0.591, allocations: 8.715 MB / 0.6336 GB, free: 9.355 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002296/0.5913, allocations: 7.953 kB / 0.6336 GB, free: 9.348 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001795/0.5931, allocations: 212 kB / 0.6338 GB, free: 9.141 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000475/0.5935, allocations: 339.1 kB / 0.6341 GB, free: 8.805 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01936/0.6129, allocations: 7.996 MB / 0.642 GB, free: 0.7852 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05209/0.665, allocations: 21.98 MB / 0.6634 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.6768, allocations: 4.557 MB / 0.6679 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002885/0.6797, allocations: 1.483 MB / 0.6693 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002451/0.6799, allocations: 61.94 kB / 0.6694 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.227e-05/0.68, allocations: 60.5 kB / 0.6694 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.799e-06/0.68, allocations: 0 / 0.6694 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006369/0.6864, allocations: 3.453 MB / 0.6728 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.016e-05/0.6865, allocations: 99.11 kB / 0.6729 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003693/0.6902, allocations: 1.992 MB / 0.6749 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.6903, allocations: 61.7 kB / 0.6749 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001825/0.6922, allocations: 2.268 MB / 0.6771 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000845/0.693, allocations: 0.7787 MB / 0.6779 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/0.6942, allocations: 0.7147 MB / 0.6786 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.6943, allocations: 301.1 kB / 0.6789 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0028/0.6971, allocations: 1.568 MB / 0.6804 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004123/0.7013, allocations: 3.183 MB / 0.6835 GB, free: 4.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007009/0.7083, allocations: 5.083 MB / 0.6885 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-05/0.7084, allocations: 16 kB / 0.6885 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008998/0.7174, allocations: 4.887 MB / 0.6933 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.663e-05/0.7174, allocations: 28 kB / 0.6933 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001081/0.7175, allocations: 56 kB / 0.6933 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001372/0.7177, allocations: 79.94 kB / 0.6934 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/0.7213, allocations: 0.9129 MB / 0.6943 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001703/0.7214, allocations: 115.6 kB / 0.6944 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.7244, allocations: 481 kB / 0.6949 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003183/0.7248, allocations: 192 kB / 0.6951 GB, free: 8.316 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.003793/0.7285, allocations: 2.081 MB / 0.6971 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/0.729, allocations: 198.7 kB / 0.6973 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/0.7345, allocations: 3.095 MB / 0.7003 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.7346, allocations: 24 kB / 0.7003 GB, free: 2.883 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.628e-05/0.7346, allocations: 7.984 kB / 0.7003 GB, free: 2.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.308e-05/0.7346, allocations: 7.969 kB / 0.7003 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01747/0.7521, allocations: 7.576 MB / 0.7077 GB, free: 11.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001016/0.7522, allocations: 20.03 kB / 0.7078 GB, free: 11.01 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00244/0.7546, allocations: 0.5578 MB / 0.7083 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.651e-05/0.7547, allocations: 28 kB / 0.7083 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003251/0.755, allocations: 79.97 kB / 0.7084 GB, free: 10.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.347e-05/0.7551, allocations: 39.86 kB / 0.7084 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.473e-05/0.7551, allocations: 23.88 kB / 0.7085 GB, free: 10.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008723/0.7638, allocations: 5.19 MB / 0.7135 GB, free: 4.766 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001595/0.7654, allocations: 493.8 kB / 0.714 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005147/0.7659, allocations: 71.98 kB / 0.7141 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/0.7674, allocations: 119.9 kB / 0.7142 GB, free: 4.094 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/0.7677, allocations: 229.2 kB / 0.7144 GB, free: 3.867 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/0.7679, allocations: 95.98 kB / 0.7145 GB, free: 3.773 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002907/0.7708, allocations: 1.302 MB / 0.7158 GB, free: 2.473 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7708, allocations: 0 / 0.7158 GB, free: 2.473 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004865/0.7757, allocations: 1.203 MB / 0.7169 GB, free: 1.266 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.0006221/0.7763, allocations: 226.4 kB / 0.7172 GB, free: 1.035 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006777/0.7831, allocations: 3.47 MB / 0.7206 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.456e-05/0.7831, allocations: 0 / 0.7206 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002859/0.786, allocations: 1.473 MB / 0.722 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00346/0.7894, allocations: 489.3 kB / 0.7225 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/0.8109, allocations: 9.12 MB / 0.7314 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3373/1.148, allocations: 3.116 MB / 0.7344 GB, free: 148.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.004919/1.153, allocations: 1.371 MB / 0.7357 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00086/1.154, allocations: 232.2 kB / 0.736 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of SimCode: time 2.154e-06/1.154, allocations: 0 / 0.736 GB, free: 148.7 MB / 0.5606 GB Notification: Performance of Templates: time 0.05353/1.208, allocations: 35.28 MB / 0.7704 GB, free: 124.5 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.1.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.099293883889914]