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.0008866/0.0008866, allocations: 85.91 kB / 21.43 MB, free: 3.066 MB / 18.57 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.0009642/0.0009642, allocations: 167.6 kB / 24.82 MB, free: 8.363 MB / 18.57 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.9129/0.9129, allocations: 177 MB / 205.1 MB, free: 4.449 MB / 186.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.1476/0.1476, allocations: 34.89 MB / 296.6 MB, free: 13.32 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 2.144e-06/2.144e-06, allocations: 7.938 kB / 379.2 MB, free: 22.73 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.11e-05/2.324e-05, allocations: 3.297 kB / 379.2 MB, free: 22.72 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.006994/0.007017, allocations: 8.842 MB / 388.1 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004613/0.01163, allocations: 2.772 MB / 390.8 MB, free: 11.06 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.01287, allocations: 87.56 kB / 390.9 MB, free: 10.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004249/0.01712, allocations: 3.9 MB / 394.8 MB, free: 7.059 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002752/0.01987, allocations: 1.103 MB / 395.9 MB, free: 5.949 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.02107, allocations: 0.7658 MB / 396.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003352/0.02442, allocations: 5.06 MB / 401.7 MB, free: 108 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007594/0.03201, allocations: 7.706 MB / 409.4 MB, free: 8.277 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004124/0.03614, allocations: 4.24 MB / 413.7 MB, free: 4.031 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003568/0.03971, allocations: 3.135 MB / 416.8 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001291/0.041, allocations: 0.7656 MB / 417.6 MB, free: 128 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.04235, allocations: 0.9254 MB / 418.5 MB, free: 15.2 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000946/0.04329, allocations: 1.656 MB / 420.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001901/0.04519, allocations: 2.039 MB / 422.2 MB, free: 11.5 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004298/0.04949, allocations: 5.216 MB / 427.4 MB, free: 6.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.04949, allocations: 0 / 427.4 MB, free: 6.266 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.0495, allocations: 0 / 427.4 MB, free: 6.266 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001076/0.0496, allocations: 0 / 427.4 MB, free: 6.266 MB / 346.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.008875/0.05848, allocations: 6.736 MB / 434.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.05852, allocations: 8.031 kB / 434.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.06872, allocations: 3.53 MB / 437.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003772/0.07249, allocations: 2.775 MB / 440.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.07272, allocations: 390.5 kB / 440.9 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006481/0.07337, allocations: 0.4999 MB / 441.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005611/0.07898, allocations: 4.183 MB / 445.5 MB, free: 3.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-05/0.07906, allocations: 11.92 kB / 445.5 MB, free: 3.984 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003221/0.07938, allocations: 212 kB / 445.8 MB, free: 3.777 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002264/0.07961, allocations: 339.1 kB / 446.1 MB, free: 3.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003444/0.08305, allocations: 1.998 MB / 448.1 MB, free: 1.391 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02266/0.1057, allocations: 19.45 MB / 467.5 MB, free: 13.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004776/0.1105, allocations: 2.79 MB / 470.3 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001005/0.1115, allocations: 0.6316 MB / 471 MB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.1117, allocations: 89.92 kB / 471 MB, free: 9.992 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.1117, allocations: 63.33 kB / 471.1 MB, free: 9.918 MB / 394.7 MB Notification: Performance of pre-optimization done (n=214): time 6.322e-06/0.1117, allocations: 3.984 kB / 471.1 MB, free: 9.914 MB / 394.7 MB Notification: Performance of matching and sorting (n=214): time 0.00224/0.1139, allocations: 1.33 MB / 472.4 MB, free: 8.582 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.114, allocations: 103.1 kB / 472.5 MB, free: 8.465 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002271/0.1163, allocations: 1.87 MB / 474.4 MB, free: 6.566 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.171e-05/0.1164, allocations: 57.7 kB / 474.5 MB, free: 6.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001412/0.1178, allocations: 2.435 MB / 476.9 MB, free: 4.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005658/0.1183, allocations: 0.8059 MB / 477.7 MB, free: 3.23 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000944/0.1193, allocations: 0.8118 MB / 478.5 MB, free: 2.406 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1194, allocations: 476.8 kB / 479 MB, free: 1.938 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005979/0.12, allocations: 326.6 kB / 479.3 MB, free: 1.617 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001957/0.1219, allocations: 2.79 MB / 482.1 MB, free: 13.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003261/0.1252, allocations: 3.503 MB / 485.6 MB, free: 9.203 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.948e-05/0.1252, allocations: 20 kB / 485.6 MB, free: 9.184 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.003895/0.1291, allocations: 2.545 MB / 488.2 MB, free: 6.637 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.511e-05/0.1292, allocations: 33.88 kB / 488.2 MB, free: 6.605 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-05/0.1292, allocations: 52 kB / 488.2 MB, free: 6.555 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.798e-05/0.1293, allocations: 91.98 kB / 488.3 MB, free: 6.465 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002097/0.1314, allocations: 0.8579 MB / 489.2 MB, free: 5.605 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.64e-05/0.1315, allocations: 111.6 kB / 489.3 MB, free: 5.496 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.1331, allocations: 397.1 kB / 489.7 MB, free: 5.105 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002207/0.1334, allocations: 168 kB / 489.9 MB, free: 4.941 MB / 410.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.001173/0.1345, allocations: 407 kB / 490.2 MB, free: 4.531 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003644/0.1349, allocations: 270.6 kB / 490.5 MB, free: 4.266 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002491/0.1374, allocations: 1.647 MB / 492.2 MB, free: 2.586 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/0.1374, allocations: 31.94 kB / 492.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1374, allocations: 0 / 492.2 MB, free: 2.555 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.1374, allocations: 15.89 kB / 492.2 MB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1484/0.2858, allocations: 6.452 MB / 498.7 MB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.2858, allocations: 16.97 kB / 498.7 MB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.2868, allocations: 0.5229 MB / 499.2 MB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.26e-05/0.2868, allocations: 31.84 kB / 499.2 MB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.156e-05/0.2869, allocations: 78.61 kB / 499.3 MB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.738e-05/0.2869, allocations: 34.62 kB / 499.3 MB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.023e-05/0.2869, allocations: 23.5 kB / 499.4 MB, free: 90.51 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002273/0.2892, allocations: 2.79 MB / 0.4904 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006236/0.2898, allocations: 415.1 kB / 0.4908 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001722/0.29, allocations: 70.73 kB / 0.4908 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.2906, allocations: 70.16 kB / 0.4909 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001929/0.2908, allocations: 231.1 kB / 0.4911 GB, free: 89.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-05/0.2908, allocations: 76.86 kB / 0.4912 GB, free: 89.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009642/0.2918, allocations: 0.7838 MB / 0.492 GB, free: 88.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2918, allocations: 2.906 kB / 0.492 GB, free: 88.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002978/0.2948, allocations: 1.194 MB / 0.4931 GB, free: 88.75 MB / 410.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.0003924/0.2952, allocations: 224 kB / 0.4934 GB, free: 88.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00211/0.2973, allocations: 1.766 MB / 0.4951 GB, free: 88.58 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.2973, allocations: 0 / 0.4951 GB, free: 88.58 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006486/0.2979, allocations: 0.7564 MB / 0.4958 GB, free: 88.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.2994, allocations: 0.5052 MB / 0.4963 GB, free: 88.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008491/0.3079, allocations: 7.682 MB / 0.5038 GB, free: 85.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001253/0.3091, allocations: 1.43 MB / 0.5052 GB, free: 84.96 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001118/0.3102, allocations: 413.2 kB / 0.5056 GB, free: 84.86 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008518/0.3111, allocations: 0.5796 MB / 0.5062 GB, free: 84.57 MB / 410.7 MB Notification: Performance of SimCode: time 2.425e-06/0.3111, allocations: 0 / 0.5062 GB, free: 84.57 MB / 410.7 MB Notification: Performance of Templates: time 0.03904/0.3501, allocations: 33.13 MB / 0.5385 GB, free: 55 MB / 410.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 -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.6962464740499854]