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.001058/0.001058, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001455/0.002513, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001072/0.001072, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001346/0.002418, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9653/0.9653, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08449/1.05, allocations: 53.87 MB / 243.7 MB, free: 14.9 MB / 250.7 MB " [Timeout remaining time 179] 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.2456/0.2456, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02525/0.2708, allocations: 13.23 MB / 292.6 MB, free: 6.461 MB / 282.7 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.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") translateModel(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|vC.[0-9,]+.|iL.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.199e-05/1.327e-05, allocations: 3.078 kB / 293.8 MB, free: 5.203 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01482/0.01483, allocations: 8.952 MB / 302.8 MB, free: 12.21 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008648/0.02348, allocations: 2.936 MB / 305.7 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004085/0.02757, allocations: 87.56 kB / 305.8 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007622/0.03519, allocations: 3.994 MB / 309.8 MB, free: 5.172 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002304/0.03749, allocations: 1.091 MB / 310.9 MB, free: 4.074 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.03859, allocations: 0.7772 MB / 311.7 MB, free: 3.297 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004199/0.04278, allocations: 5.092 MB / 316.8 MB, free: 14.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008125/0.05091, allocations: 7.712 MB / 324.5 MB, free: 6.316 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004143/0.05505, allocations: 4.339 MB / 328.8 MB, free: 1.969 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002917/0.05797, allocations: 3.162 MB / 332 MB, free: 14.8 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007136/0.05868, allocations: 0.7656 MB / 332.7 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001513/0.0602, allocations: 0.9371 MB / 333.7 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001053/0.06125, allocations: 1.317 MB / 335 MB, free: 11.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.06298, allocations: 1.689 MB / 336.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004339/0.06732, allocations: 4.943 MB / 341.6 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.296e-05/0.06733, allocations: 0 / 341.6 MB, free: 5.129 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.06733, allocations: 0 / 341.6 MB, free: 5.129 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.241e-05/0.06738, allocations: 0 / 341.6 MB, free: 5.129 MB / 330.7 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.009556/0.07693, allocations: 7.256 MB / 348.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.07696, allocations: 8.031 kB / 348.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01382/0.09079, allocations: 3.801 MB / 352.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.09292, allocations: 1.625 MB / 354.3 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.09309, allocations: 386.5 kB / 354.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004972/0.09359, allocations: 0.5 MB / 355.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004355/0.09794, allocations: 4.288 MB / 359.5 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.039e-05/0.09802, allocations: 3.953 kB / 359.5 MB, free: 3.109 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.09836, allocations: 212 kB / 359.7 MB, free: 2.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002152/0.09857, allocations: 339.1 kB / 360 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002383/0.101, allocations: 1.714 MB / 361.7 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01379/0.1147, allocations: 15.22 MB / 377 MB, free: 1.062 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003575/0.1183, allocations: 2.554 MB / 379.5 MB, free: 14.49 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006164/0.1189, allocations: 0.5645 MB / 380.1 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001058/0.119, allocations: 73.94 kB / 380.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.999e-05/0.1191, allocations: 56.56 kB / 380.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 3.517e-06/0.1191, allocations: 0 / 380.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=214): time 0.001185/0.1203, allocations: 0.9677 MB / 381.2 MB, free: 12.82 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.61e-05/0.1203, allocations: 103.1 kB / 381.3 MB, free: 12.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008307/0.1211, allocations: 1.239 MB / 382.5 MB, free: 11.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.351e-05/0.1212, allocations: 61.7 kB / 382.6 MB, free: 11.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007879/0.122, allocations: 2.165 MB / 384.7 MB, free: 9.191 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003717/0.1224, allocations: 0.7591 MB / 385.5 MB, free: 8.426 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/0.1229, allocations: 0.6364 MB / 386.1 MB, free: 7.781 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.366e-05/0.123, allocations: 309.1 kB / 386.4 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004028/0.1234, allocations: 290.8 kB / 386.7 MB, free: 7.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/0.1245, allocations: 1.93 MB / 388.7 MB, free: 4.492 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00181/0.1263, allocations: 2.669 MB / 391.3 MB, free: 1.043 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/0.1263, allocations: 16 kB / 391.3 MB, free: 1.027 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.001978/0.1283, allocations: 2.049 MB / 393.4 MB, free: 14.97 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.394e-05/0.1283, allocations: 30.69 kB / 393.4 MB, free: 14.95 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.511e-05/0.1284, allocations: 60 kB / 393.5 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.24e-05/0.1284, allocations: 79.94 kB / 393.6 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.1302, allocations: 0.9984 MB / 394.6 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.338e-05/0.1303, allocations: 115.6 kB / 394.7 MB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009214/0.1312, allocations: 393.1 kB / 395.1 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001578/0.1314, allocations: 156 kB / 395.2 MB, free: 13.16 MB / 394.7 MB 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.0005418/0.1319, allocations: 367.1 kB / 395.6 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001877/0.1321, allocations: 183.8 kB / 395.7 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.1335, allocations: 1.318 MB / 397.1 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.1335, allocations: 27.94 kB / 397.1 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.1335, allocations: 0 / 397.1 MB, free: 11.23 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.1335, allocations: 11.95 kB / 397.1 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00451/0.138, allocations: 4.964 MB / 402.1 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/0.1381, allocations: 16 kB / 402.1 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/0.1392, allocations: 0.6285 MB / 402.7 MB, free: 5.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003627/0.1396, allocations: 337.8 kB / 403 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.554e-05/0.1396, allocations: 28 kB / 403.1 MB, free: 4.988 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-05/0.1397, allocations: 75.97 kB / 403.1 MB, free: 4.914 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-05/0.1397, allocations: 31.92 kB / 403.2 MB, free: 4.883 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.166e-05/0.1397, allocations: 27.88 kB / 403.2 MB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.1416, allocations: 2.247 MB / 405.4 MB, free: 2.285 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001591/0.1417, allocations: 71.92 kB / 405.5 MB, free: 2.215 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.1422, allocations: 72.02 kB / 405.6 MB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.1424, allocations: 221.2 kB / 405.8 MB, free: 1.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/0.1425, allocations: 71.98 kB / 405.9 MB, free: 1.859 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004075/0.1429, allocations: 0.5296 MB / 406.4 MB, free: 1.328 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1429, allocations: 3.938 kB / 406.4 MB, free: 1.324 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001875/0.1448, allocations: 1.195 MB / 407.6 MB, free: 128 kB / 394.7 MB 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.0002746/0.145, allocations: 209.6 kB / 407.8 MB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001418/0.1465, allocations: 1.543 MB / 409.3 MB, free: 14.36 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.02e-05/0.1465, allocations: 46.47 kB / 409.4 MB, free: 14.31 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005663/0.1471, allocations: 0.652 MB / 410 MB, free: 13.66 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.1485, allocations: 0.699 MB / 410.7 MB, free: 12.99 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/0.1715, allocations: 8.01 MB / 418.8 MB, free: 4.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009122/0.1724, allocations: 1.059 MB / 419.8 MB, free: 3.594 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009808/0.1734, allocations: 412.8 kB / 420.2 MB, free: 3.188 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008416/0.1742, allocations: 0.5128 MB / 420.7 MB, free: 2.676 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/0.1742, allocations: 0 / 420.7 MB, free: 2.676 MB / 410.7 MB Notification: Performance of Templates: time 0.169/0.3433, allocations: 34.33 MB / 455.1 MB, free: 109 MB / 426.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.676785137504339]