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.0008433/0.0008433, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.0009866/0.0009866, allocations: 165.8 kB / 24.82 MB, free: 9.266 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.104/1.104, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2748/0.2748, allocations: 34.26 MB / 296.1 MB, free: 0.6484 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.943e-06/1.943e-06, allocations: 0 / 378.5 MB, free: 2.371 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.432e-05, allocations: 2.312 kB / 378.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.007611/0.007635, allocations: 8.846 MB / 387.3 MB, free: 9.477 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005672/0.01331, allocations: 2.776 MB / 390.1 MB, free: 6.691 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.01502, allocations: 87.56 kB / 390.2 MB, free: 6.605 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004417/0.01944, allocations: 3.893 MB / 394.1 MB, free: 2.695 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.02293, allocations: 1.107 MB / 395.2 MB, free: 1.582 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.02419, allocations: 0.7616 MB / 396 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.004197/0.02838, allocations: 5.049 MB / 401 MB, free: 11.75 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008475/0.03686, allocations: 7.719 MB / 408.7 MB, free: 3.91 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005613/0.04247, allocations: 4.244 MB / 413 MB, free: 15.66 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004272/0.04674, allocations: 3.139 MB / 416.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002664/0.04941, allocations: 0.7656 MB / 416.9 MB, free: 11.75 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00333/0.05274, allocations: 0.9253 MB / 417.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001974/0.05471, allocations: 1.664 MB / 419.5 MB, free: 9.156 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003948/0.05866, allocations: 2.035 MB / 421.5 MB, free: 7.117 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00659/0.06525, allocations: 5.208 MB / 426.7 MB, free: 1.895 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.06525, allocations: 0 / 426.7 MB, free: 1.895 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.193e-06/0.06525, allocations: 0 / 426.7 MB, free: 1.895 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001756/0.06543, allocations: 0 / 426.7 MB, free: 1.895 MB / 394.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.009932/0.07536, allocations: 6.729 MB / 433.4 MB, free: 11.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.07541, allocations: 12.03 kB / 433.5 MB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/0.08568, allocations: 3.53 MB / 437 MB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/0.09075, allocations: 2.771 MB / 439.8 MB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000256/0.09101, allocations: 394.4 kB / 440.1 MB, free: 4.355 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009836/0.09199, allocations: 0.5077 MB / 440.6 MB, free: 3.848 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2081/0.3, allocations: 4.174 MB / 444.8 MB, free: 79.89 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002758/0.3003, allocations: 5.328 kB / 444.8 MB, free: 79.89 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008662/0.3012, allocations: 214 kB / 445 MB, free: 79.89 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003725/0.3016, allocations: 338.1 kB / 445.4 MB, free: 79.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004756/0.3063, allocations: 1.997 MB / 447.4 MB, free: 79.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0228/0.3291, allocations: 19.44 MB / 466.8 MB, free: 72.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003964/0.3331, allocations: 2.788 MB / 469.6 MB, free: 71.59 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007792/0.3339, allocations: 0.6267 MB / 470.2 MB, free: 71.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001419/0.334, allocations: 89.44 kB / 470.3 MB, free: 71.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.334, allocations: 72.27 kB / 470.4 MB, free: 71.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=214): time 4.709e-06/0.334, allocations: 3.625 kB / 470.4 MB, free: 71.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=214): time 0.001697/0.3357, allocations: 1.322 MB / 471.7 MB, free: 71.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.3358, allocations: 104.5 kB / 471.8 MB, free: 70.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.3378, allocations: 1.868 MB / 473.7 MB, free: 70.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.264e-05/0.3379, allocations: 59.61 kB / 473.7 MB, free: 70.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001296/0.3392, allocations: 2.445 MB / 476.2 MB, free: 68.85 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005472/0.3398, allocations: 0.7977 MB / 477 MB, free: 68.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007629/0.3405, allocations: 0.8117 MB / 477.8 MB, free: 67.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.242e-05/0.3406, allocations: 479.5 kB / 478.3 MB, free: 67.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000507/0.3411, allocations: 332 kB / 478.6 MB, free: 67.42 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001404/0.3425, allocations: 2.787 MB / 481.4 MB, free: 64.32 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002974/0.3455, allocations: 3.504 MB / 484.9 MB, free: 60.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.407e-05/0.3455, allocations: 15.53 kB / 484.9 MB, free: 60.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.004216/0.3497, allocations: 2.555 MB / 487.4 MB, free: 60.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.3498, allocations: 28.91 kB / 487.5 MB, free: 60.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.234e-05/0.3499, allocations: 56 kB / 487.5 MB, free: 60.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001167/0.35, allocations: 77.25 kB / 487.6 MB, free: 60.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.3519, allocations: 0.8577 MB / 488.5 MB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00014/0.352, allocations: 119.2 kB / 488.6 MB, free: 60.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001756/0.3538, allocations: 395.4 kB / 489 MB, free: 60.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002487/0.354, allocations: 171.7 kB / 489.1 MB, free: 60.09 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.001607/0.3556, allocations: 410.1 kB / 489.5 MB, free: 59.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005055/0.3561, allocations: 266.2 kB / 489.8 MB, free: 59.66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002435/0.3586, allocations: 1.66 MB / 491.4 MB, free: 59.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/0.3586, allocations: 23.38 kB / 491.5 MB, free: 59.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.3586, allocations: 4 kB / 491.5 MB, free: 59.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-05/0.3586, allocations: 11.17 kB / 491.5 MB, free: 59.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009126/0.3677, allocations: 6.46 MB / 497.9 MB, free: 56.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.691e-05/0.3678, allocations: 17.31 kB / 498 MB, free: 56.26 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.369, allocations: 0.5178 MB / 498.5 MB, free: 56.24 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.14e-05/0.3691, allocations: 26.69 kB / 498.5 MB, free: 56.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001274/0.3692, allocations: 77.97 kB / 498.6 MB, free: 56.21 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.901e-05/0.3692, allocations: 40 kB / 498.6 MB, free: 56.21 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.426e-05/0.3693, allocations: 23.17 kB / 498.6 MB, free: 56.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002832/0.3721, allocations: 2.79 MB / 0.4897 GB, free: 54.37 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006382/0.3727, allocations: 412.6 kB / 0.4901 GB, free: 54.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.3729, allocations: 69.56 kB / 0.4901 GB, free: 54.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005799/0.3735, allocations: 66.12 kB / 0.4902 GB, free: 54.07 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/0.3738, allocations: 232.3 kB / 0.4904 GB, free: 54.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/0.3739, allocations: 80.64 kB / 0.4905 GB, free: 54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008991/0.3748, allocations: 0.7848 MB / 0.4913 GB, free: 53.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3748, allocations: 0 / 0.4913 GB, free: 53.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003179/0.3779, allocations: 1.197 MB / 0.4924 GB, free: 53.37 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.0003867/0.3783, allocations: 230.8 kB / 0.4927 GB, free: 53.22 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002697/0.381, allocations: 1.76 MB / 0.4944 GB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/0.381, allocations: 0 / 0.4944 GB, free: 52.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007928/0.3818, allocations: 0.7518 MB / 0.4951 GB, free: 52.88 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00173/0.3836, allocations: 0.5073 MB / 0.4956 GB, free: 52.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.3939, allocations: 7.699 MB / 0.5031 GB, free: 45.81 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001698/0.3956, allocations: 1.434 MB / 0.5045 GB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001284/0.3969, allocations: 406.7 kB / 0.5049 GB, free: 44.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008525/0.3977, allocations: 0.5793 MB / 0.5055 GB, free: 43.9 MB / 410.7 MB Notification: Performance of SimCode: time 2.033e-06/0.3977, allocations: 0 / 0.5055 GB, free: 43.9 MB / 410.7 MB Notification: Performance of Templates: time 0.04108/0.4388, allocations: 33.14 MB / 0.5378 GB, free: 14.2 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.464755552820861]