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.001152/0.001152, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001273/0.001273, allocations: 167.9 kB / 25.61 MB, free: 8.582 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 0.9564/0.9564, allocations: 177.1 MB / 206 MB, free: 4.484 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.146/0.146, allocations: 34.27 MB / 296.9 MB, free: 13.9 MB / 282.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.503e-06/1.503e-06, allocations: 0 / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.42e-05/2.57e-05, allocations: 2.312 kB / 379.3 MB, free: 23.41 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.009447/0.009473, allocations: 8.839 MB / 388.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006812/0.01629, allocations: 2.772 MB / 390.9 MB, free: 11.74 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002175/0.01846, allocations: 87.56 kB / 391 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005318/0.02378, allocations: 3.893 MB / 394.9 MB, free: 7.742 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003338/0.02712, allocations: 1.099 MB / 396 MB, free: 6.637 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001212/0.02833, allocations: 0.774 MB / 396.7 MB, free: 5.863 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003001/0.03133, allocations: 5.056 MB / 401.8 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007151/0.03848, allocations: 7.71 MB / 409.5 MB, free: 8.957 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003779/0.04226, allocations: 4.228 MB / 413.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002682/0.04494, allocations: 3.139 MB / 416.9 MB, free: 1.578 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006241/0.04556, allocations: 0.7617 MB / 417.6 MB, free: 0.8164 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001026/0.04659, allocations: 0.9331 MB / 418.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009261/0.04752, allocations: 1.664 MB / 420.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.04898, allocations: 2.035 MB / 422.3 MB, free: 12.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003621/0.0526, allocations: 5.216 MB / 427.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.05261, allocations: 0 / 427.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.05261, allocations: 0 / 427.5 MB, free: 6.945 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.984e-05/0.05265, allocations: 0 / 427.5 MB, free: 6.945 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.007678/0.06032, allocations: 6.729 MB / 434.2 MB, free: 160 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.06036, allocations: 8.031 kB / 434.2 MB, free: 152 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/0.07072, allocations: 3.534 MB / 437.8 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003092/0.07381, allocations: 2.783 MB / 440.5 MB, free: 9.781 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001958/0.074, allocations: 386.5 kB / 440.9 MB, free: 9.402 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006039/0.07461, allocations: 0.4999 MB / 441.4 MB, free: 8.902 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005458/0.08007, allocations: 4.183 MB / 445.6 MB, free: 4.676 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.337e-05/0.08015, allocations: 11.97 kB / 445.6 MB, free: 4.664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003488/0.0805, allocations: 208 kB / 445.8 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002452/0.08074, allocations: 339.1 kB / 446.1 MB, free: 4.125 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003065/0.08381, allocations: 1.994 MB / 448.1 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01892/0.1027, allocations: 19.43 MB / 467.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004153/0.1069, allocations: 2.793 MB / 470.4 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.1076, allocations: 0.6238 MB / 471 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001116/0.1077, allocations: 81.94 kB / 471.1 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.1077, allocations: 55.39 kB / 471.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of pre-optimization done (n=214): time 3.577e-06/0.1078, allocations: 0 / 471.1 MB, free: 10.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=214): time 0.001718/0.1095, allocations: 1.334 MB / 472.5 MB, free: 9.309 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.755e-05/0.1095, allocations: 99.11 kB / 472.6 MB, free: 9.195 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.1112, allocations: 1.866 MB / 474.4 MB, free: 7.301 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/0.1112, allocations: 61.7 kB / 474.5 MB, free: 7.234 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.1124, allocations: 2.443 MB / 476.9 MB, free: 4.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004552/0.1129, allocations: 0.7981 MB / 477.7 MB, free: 3.961 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007426/0.1136, allocations: 0.8079 MB / 478.5 MB, free: 3.141 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.683e-05/0.1137, allocations: 480.7 kB / 479 MB, free: 2.668 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004674/0.1142, allocations: 334.6 kB / 479.3 MB, free: 2.34 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.1157, allocations: 2.786 MB / 482.1 MB, free: 14.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002688/0.1184, allocations: 3.511 MB / 485.6 MB, free: 9.918 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.578e-05/0.1184, allocations: 16 kB / 485.6 MB, free: 9.902 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.002972/0.1214, allocations: 2.556 MB / 488.2 MB, free: 7.34 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.1214, allocations: 31.94 kB / 488.2 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.114e-05/0.1215, allocations: 56 kB / 488.3 MB, free: 7.254 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.881e-05/0.1215, allocations: 79.94 kB / 488.4 MB, free: 7.176 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.1231, allocations: 0.8544 MB / 489.2 MB, free: 6.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.816e-05/0.1231, allocations: 115.6 kB / 489.3 MB, free: 6.207 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0021/0.1252, allocations: 397.1 kB / 489.7 MB, free: 5.816 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.1254, allocations: 164 kB / 489.9 MB, free: 5.656 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.0007187/0.1261, allocations: 415 kB / 490.3 MB, free: 5.238 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002751/0.1264, allocations: 266.7 kB / 490.5 MB, free: 4.977 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002026/0.1284, allocations: 1.651 MB / 492.2 MB, free: 3.297 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.1284, allocations: 27.94 kB / 492.2 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1284, allocations: 0 / 492.2 MB, free: 3.27 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/0.1285, allocations: 15.95 kB / 492.2 MB, free: 3.254 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1783/0.3067, allocations: 6.451 MB / 498.7 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.385e-05/0.3067, allocations: 17.09 kB / 498.7 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001069/0.3078, allocations: 0.5173 MB / 499.2 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.303e-05/0.3078, allocations: 29.78 kB / 499.2 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001093/0.3079, allocations: 77.88 kB / 499.3 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.861e-05/0.308, allocations: 37.23 kB / 499.4 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-05/0.308, allocations: 28.47 kB / 499.4 MB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002407/0.3104, allocations: 2.787 MB / 0.4904 GB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/0.311, allocations: 419.7 kB / 0.4908 GB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.3111, allocations: 67.61 kB / 0.4909 GB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005242/0.3117, allocations: 67.64 kB / 0.4909 GB, free: 89.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001902/0.3119, allocations: 227.1 kB / 0.4911 GB, free: 89.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.838e-05/0.3119, allocations: 77.19 kB / 0.4912 GB, free: 89.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006677/0.3126, allocations: 0.7845 MB / 0.492 GB, free: 89.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3126, allocations: 3.469 kB / 0.492 GB, free: 89.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003216/0.3158, allocations: 1.198 MB / 0.4932 GB, free: 89.03 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.0003256/0.3161, allocations: 227.5 kB / 0.4934 GB, free: 88.95 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002418/0.3186, allocations: 1.758 MB / 0.4951 GB, free: 88.86 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/0.3186, allocations: 2.25 kB / 0.4951 GB, free: 88.86 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000672/0.3192, allocations: 0.7561 MB / 0.4958 GB, free: 88.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00148/0.3207, allocations: 0.5108 MB / 0.4963 GB, free: 88.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007681/0.3284, allocations: 7.682 MB / 0.5038 GB, free: 85.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001066/0.3295, allocations: 1.43 MB / 0.5052 GB, free: 85.21 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00105/0.3305, allocations: 410.5 kB / 0.5056 GB, free: 85.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007754/0.3313, allocations: 0.5847 MB / 0.5062 GB, free: 85.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.984e-06/0.3313, allocations: 0 / 0.5062 GB, free: 85.03 MB / 410.7 MB Notification: Performance of Templates: time 0.07807/0.4094, allocations: 33.69 MB / 0.5391 GB, free: 55.13 MB / 410.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 -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: 4.210475141182542]