Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 170 kB / 24.91 MB, free: 8.723 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.024/1.024, allocations: 177.1 MB / 205.3 MB, free: 5.109 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2675/0.2675, allocations: 34.26 MB / 296.1 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.935e-05/2.076e-05, allocations: 3.922 kB / 325.3 MB, free: 7.684 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01796/0.01798, allocations: 8.911 MB / 334.2 MB, free: 14.73 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01146/0.02944, allocations: 2.921 MB / 337.1 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000769/0.03021, allocations: 87.56 kB / 337.2 MB, free: 11.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005102/0.03531, allocations: 3.97 MB / 341.2 MB, free: 7.723 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002139/0.03745, allocations: 1.111 MB / 342.3 MB, free: 6.605 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.03865, allocations: 0.7673 MB / 343 MB, free: 5.836 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003839/0.04248, allocations: 5.056 MB / 348.1 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007805/0.05029, allocations: 7.875 MB / 356 MB, free: 8.73 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004062/0.05435, allocations: 4.255 MB / 360.2 MB, free: 4.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.05747, allocations: 3.178 MB / 363.4 MB, free: 1.285 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007186/0.05819, allocations: 0.7695 MB / 364.2 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.05936, allocations: 0.9294 MB / 365.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.06039, allocations: 1.668 MB / 366.8 MB, free: 13.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001649/0.06204, allocations: 2.031 MB / 368.8 MB, free: 11.88 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004275/0.06631, allocations: 5.208 MB / 374 MB, free: 6.656 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.06632, allocations: 0 / 374 MB, free: 6.656 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.06632, allocations: 4 kB / 374 MB, free: 6.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.084e-05/0.06635, allocations: 0 / 374 MB, free: 6.652 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.00937/0.07572, allocations: 6.185 MB / 380.2 MB, free: 428 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.07576, allocations: 8.031 kB / 380.2 MB, free: 420 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/0.09218, allocations: 3.797 MB / 384 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/0.09433, allocations: 1.621 MB / 385.6 MB, free: 10.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.09452, allocations: 394.5 kB / 386 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005054/0.09503, allocations: 0.496 MB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004424/0.09945, allocations: 4.276 MB / 390.8 MB, free: 5.738 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.295e-05/0.09952, allocations: 15.92 kB / 390.8 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003391/0.09986, allocations: 208 kB / 391 MB, free: 5.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002171/0.1001, allocations: 347.1 kB / 391.3 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002484/0.1026, allocations: 1.71 MB / 393 MB, free: 3.414 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01474/0.1173, allocations: 15.14 MB / 408.2 MB, free: 3.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003818/0.1211, allocations: 2.555 MB / 410.7 MB, free: 1.188 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006312/0.1218, allocations: 0.5496 MB / 411.3 MB, free: 0.6328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.1219, allocations: 77.94 kB / 411.4 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.89e-05/0.1219, allocations: 60.5 kB / 411.4 MB, free: 500 kB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 3.918e-06/0.1219, allocations: 0 / 411.4 MB, free: 500 kB / 378.7 MB Notification: Performance of matching and sorting (n=214): time 0.001331/0.1232, allocations: 0.9717 MB / 412.4 MB, free: 15.51 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1233, allocations: 103.1 kB / 412.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008906/0.1242, allocations: 1.235 MB / 413.7 MB, free: 14.15 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.767e-05/0.1243, allocations: 61.7 kB / 413.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008076/0.1251, allocations: 2.165 MB / 416 MB, free: 11.89 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000366/0.1254, allocations: 0.7591 MB / 416.7 MB, free: 11.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005611/0.126, allocations: 0.6402 MB / 417.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.52e-05/0.1261, allocations: 301.1 kB / 417.7 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003908/0.1265, allocations: 294.8 kB / 417.9 MB, free: 9.895 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.1276, allocations: 1.93 MB / 419.9 MB, free: 7.188 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001823/0.1294, allocations: 2.673 MB / 422.5 MB, free: 3.738 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/0.1294, allocations: 16 kB / 422.6 MB, free: 3.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00202/0.1314, allocations: 2.057 MB / 424.6 MB, free: 1.664 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.171e-05/0.1314, allocations: 30.34 kB / 424.6 MB, free: 1.637 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.31e-05/0.1315, allocations: 56 kB / 424.7 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.067e-05/0.1315, allocations: 83.88 kB / 424.8 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/0.1332, allocations: 0.9247 MB / 425.7 MB, free: 0.5742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.255e-05/0.1332, allocations: 111.6 kB / 425.8 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009566/0.1342, allocations: 401.1 kB / 426.2 MB, free: 72 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.1344, allocations: 156 kB / 426.4 MB, free: 15.92 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.0006281/0.135, allocations: 367.1 kB / 426.7 MB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.1352, allocations: 175.8 kB / 426.9 MB, free: 15.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.1366, allocations: 1.322 MB / 428.2 MB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.487e-05/0.1366, allocations: 31.94 kB / 428.2 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1366, allocations: 0 / 428.2 MB, free: 14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.1366, allocations: 7.969 kB / 428.3 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004697/0.1413, allocations: 4.972 MB / 433.2 MB, free: 8.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.1413, allocations: 16 kB / 433.2 MB, free: 8.734 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.1424, allocations: 0.5696 MB / 433.8 MB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.027e-05/0.1424, allocations: 31.94 kB / 433.8 MB, free: 8.133 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.098e-05/0.1425, allocations: 75.97 kB / 433.9 MB, free: 8.059 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-05/0.1426, allocations: 35.86 kB / 433.9 MB, free: 8.023 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.391e-05/0.1426, allocations: 23.94 kB / 434 MB, free: 8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.1445, allocations: 2.251 MB / 436.2 MB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003706/0.1448, allocations: 345.9 kB / 436.6 MB, free: 5.082 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.145, allocations: 75.92 kB / 436.6 MB, free: 5.008 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004464/0.1454, allocations: 67.98 kB / 436.7 MB, free: 4.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001989/0.1456, allocations: 225.2 kB / 436.9 MB, free: 4.719 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.612e-05/0.1457, allocations: 67.98 kB / 437 MB, free: 4.652 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0004258/0.1461, allocations: 0.5257 MB / 437.5 MB, free: 4.125 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1461, allocations: 0 / 437.5 MB, free: 4.125 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002038/0.1482, allocations: 1.199 MB / 438.7 MB, free: 2.922 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.0002814/0.1485, allocations: 216.2 kB / 438.9 MB, free: 2.703 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.1498, allocations: 1.527 MB / 440.5 MB, free: 1.172 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.376e-05/0.1499, allocations: 35.84 kB / 440.5 MB, free: 1.133 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.1504, allocations: 0.6572 MB / 441.1 MB, free: 492 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.1517, allocations: 0.4912 MB / 441.6 MB, free: 8 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007023/0.1587, allocations: 7.4 MB / 449 MB, free: 8.316 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008713/0.1596, allocations: 1.024 MB / 450.1 MB, free: 7.266 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0008417/0.1604, allocations: 408.7 kB / 450.5 MB, free: 6.863 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008447/0.1613, allocations: 0.5206 MB / 451 MB, free: 6.344 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.1613, allocations: 0 / 451 MB, free: 6.344 MB / 426.7 MB Notification: Performance of Templates: time 0.1688/0.3301, allocations: 33.32 MB / 484.3 MB, free: 103.9 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.934151310939342]