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.001488/0.001488, allocations: 88.73 kB / 21.5 MB, free: 2.988 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.001688/0.001688, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9833/0.9833, allocations: 177 MB / 205.2 MB, free: 5.055 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.2582/0.2582, allocations: 34.86 MB / 296.6 MB, free: 468 kB / 266.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.032e-06/1.032e-06, allocations: 0 / 325.9 MB, free: 7.137 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143e-05/1.246e-05, allocations: 10.17 kB / 325.9 MB, free: 7.129 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.007796/0.007808, allocations: 8.894 MB / 334.8 MB, free: 14.19 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.01097, allocations: 2.925 MB / 337.8 MB, free: 11.25 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003682/0.01134, allocations: 83.62 kB / 337.8 MB, free: 11.17 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003553/0.0149, allocations: 3.978 MB / 341.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.0163, allocations: 1.095 MB / 342.9 MB, free: 6.074 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008282/0.01713, allocations: 0.7792 MB / 343.7 MB, free: 5.297 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003136/0.02026, allocations: 5.057 MB / 348.8 MB, free: 228 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006401/0.02666, allocations: 7.875 MB / 356.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00321/0.02987, allocations: 4.263 MB / 360.9 MB, free: 3.922 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002599/0.03247, allocations: 3.182 MB / 364.1 MB, free: 0.7344 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005443/0.03302, allocations: 0.7657 MB / 364.8 MB, free: 15.96 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009199/0.03394, allocations: 0.9292 MB / 365.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008015/0.03474, allocations: 1.668 MB / 367.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001255/0.03599, allocations: 2.031 MB / 369.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003601/0.03959, allocations: 5.216 MB / 374.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.0396, allocations: 0 / 374.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.0396, allocations: 0 / 374.7 MB, free: 6.102 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.126e-05/0.03963, allocations: 0 / 374.7 MB, free: 6.102 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.007368/0.047, allocations: 6.185 MB / 380.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.04703, allocations: 8.031 kB / 380.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.05853, allocations: 3.797 MB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002575/0.0611, allocations: 1.617 MB / 386.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.0613, allocations: 394.4 kB / 386.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/0.06183, allocations: 0.4922 MB / 387.2 MB, free: 9.516 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005176/0.06701, allocations: 4.284 MB / 391.5 MB, free: 5.188 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.582e-05/0.06708, allocations: 3.953 kB / 391.5 MB, free: 5.184 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/0.06743, allocations: 216 kB / 391.7 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/0.06765, allocations: 335.1 kB / 392 MB, free: 4.641 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.07022, allocations: 1.718 MB / 393.7 MB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0152/0.08542, allocations: 15.14 MB / 408.9 MB, free: 3.211 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003773/0.08919, allocations: 2.547 MB / 411.4 MB, free: 0.6562 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006215/0.08981, allocations: 0.5637 MB / 412 MB, free: 84 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.08992, allocations: 69.94 kB / 412 MB, free: 16 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.765e-05/0.08996, allocations: 60.56 kB / 412.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of pre-optimization done (n=214): time 4.007e-06/0.08997, allocations: 0 / 412.1 MB, free: 15.95 MB / 394.7 MB Notification: Performance of matching and sorting (n=214): time 0.001647/0.09162, allocations: 0.9716 MB / 413.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.09166, allocations: 99.11 kB / 413.2 MB, free: 14.86 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/0.09251, allocations: 1.235 MB / 414.4 MB, free: 13.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.05e-05/0.09259, allocations: 61.7 kB / 414.5 MB, free: 13.55 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008095/0.0934, allocations: 2.157 MB / 416.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003899/0.09379, allocations: 0.7708 MB / 417.4 MB, free: 10.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005603/0.09435, allocations: 0.6364 MB / 418 MB, free: 9.945 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.09443, allocations: 305.1 kB / 418.3 MB, free: 9.645 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003904/0.09482, allocations: 302.7 kB / 418.6 MB, free: 9.348 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/0.09619, allocations: 1.918 MB / 420.5 MB, free: 6.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001919/0.09811, allocations: 2.681 MB / 423.2 MB, free: 3.199 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.09813, allocations: 16 kB / 423.2 MB, free: 3.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002048/0.1002, allocations: 2.045 MB / 425.3 MB, free: 1.133 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.1002, allocations: 32 kB / 425.3 MB, free: 1.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.367e-05/0.1002, allocations: 52 kB / 425.4 MB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.267e-05/0.1003, allocations: 83.94 kB / 425.4 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001921/0.1022, allocations: 0.9249 MB / 426.4 MB, free: 44 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.3e-05/0.1023, allocations: 111.6 kB / 426.5 MB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/0.1032, allocations: 401.1 kB / 426.9 MB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.1034, allocations: 160 kB / 427 MB, free: 15.38 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.0006183/0.104, allocations: 371 kB / 427.4 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001904/0.1042, allocations: 171.8 kB / 427.6 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.1056, allocations: 1.326 MB / 428.9 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.1056, allocations: 27.94 kB / 428.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.1056, allocations: 0 / 428.9 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.1056, allocations: 15.95 kB / 428.9 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004834/0.1105, allocations: 4.961 MB / 433.9 MB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.1105, allocations: 24.06 kB / 433.9 MB, free: 8.195 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001119/0.1116, allocations: 0.5773 MB / 434.5 MB, free: 7.617 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.646e-05/0.1116, allocations: 27.94 kB / 434.5 MB, free: 7.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-05/0.1117, allocations: 67.98 kB / 434.6 MB, free: 7.523 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.785e-05/0.1117, allocations: 43.86 kB / 434.6 MB, free: 7.48 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.16e-05/0.1117, allocations: 23.88 kB / 434.6 MB, free: 7.457 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.1136, allocations: 2.247 MB / 436.9 MB, free: 4.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003735/0.1139, allocations: 345.9 kB / 437.2 MB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.1141, allocations: 71.92 kB / 437.3 MB, free: 4.473 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004731/0.1146, allocations: 64 kB / 437.4 MB, free: 4.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.1148, allocations: 217.3 kB / 437.6 MB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.21e-05/0.1149, allocations: 79.91 kB / 437.7 MB, free: 4.117 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004145/0.1153, allocations: 0.5219 MB / 438.2 MB, free: 3.594 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1153, allocations: 4.031 kB / 438.2 MB, free: 3.59 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001944/0.1172, allocations: 1.199 MB / 439.4 MB, free: 2.387 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.0005269/0.1177, allocations: 215.7 kB / 439.6 MB, free: 2.168 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.1192, allocations: 1.527 MB / 441.1 MB, free: 0.6406 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.578e-05/0.1192, allocations: 31.84 kB / 441.1 MB, free: 0.6055 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008313/0.12, allocations: 0.6607 MB / 441.8 MB, free: 15.95 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.1214, allocations: 0.496 MB / 442.3 MB, free: 15.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007239/0.1286, allocations: 7.384 MB / 449.7 MB, free: 7.797 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008215/0.1294, allocations: 1.024 MB / 450.7 MB, free: 6.746 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000813/0.1302, allocations: 408.8 kB / 451.1 MB, free: 6.344 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008585/0.1311, allocations: 0.5244 MB / 451.6 MB, free: 5.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1311, allocations: 0 / 451.6 MB, free: 5.82 MB / 426.7 MB Notification: Performance of Templates: time 0.1717/0.3028, allocations: 33.32 MB / 485 MB, free: 100.3 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 -s gbode -gbm=radauIIA3 -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.8525730269029737]