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.0007082/0.0007082, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001114/0.001822, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007428/0.0007428, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001225/0.001968, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.9744/0.9744, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08966/1.064, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.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.2711/0.2711, allocations: 34.26 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02449/0.2955, allocations: 13.1 MB / 291.5 MB, free: 7.332 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.523e-06/1.523e-06, allocations: 0 / 292.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.845e-05/2.998e-05, allocations: 6.25 kB / 292.8 MB, free: 6.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.007993/0.008023, allocations: 8.953 MB / 301.8 MB, free: 13.22 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005506/0.01353, allocations: 2.944 MB / 304.7 MB, free: 10.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001568/0.0151, allocations: 87.56 kB / 304.8 MB, free: 10.18 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004263/0.01936, allocations: 3.982 MB / 308.8 MB, free: 6.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003517/0.02288, allocations: 1.095 MB / 309.9 MB, free: 5.078 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001549/0.02443, allocations: 0.7668 MB / 310.7 MB, free: 4.312 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00475/0.02918, allocations: 5.101 MB / 315.8 MB, free: 15.19 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00882/0.038, allocations: 7.712 MB / 323.5 MB, free: 7.324 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006867/0.04486, allocations: 4.343 MB / 327.8 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004667/0.04953, allocations: 3.15 MB / 331 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001817/0.05135, allocations: 0.7656 MB / 331.7 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/0.05396, allocations: 0.9449 MB / 332.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001352/0.05531, allocations: 1.321 MB / 334 MB, free: 12.78 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002955/0.05826, allocations: 1.693 MB / 335.7 MB, free: 11.09 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005821/0.06409, allocations: 4.931 MB / 340.6 MB, free: 6.141 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/0.0641, allocations: 0 / 340.6 MB, free: 6.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.0641, allocations: 0 / 340.6 MB, free: 6.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0002105/0.06431, allocations: 4 kB / 340.6 MB, free: 6.137 MB / 330.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.01101/0.07532, allocations: 7.24 MB / 347.9 MB, free: 14.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.07536, allocations: 8.625 kB / 347.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01177/0.08712, allocations: 3.789 MB / 351.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003912/0.09104, allocations: 1.629 MB / 353.3 MB, free: 9.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002478/0.09128, allocations: 394.5 kB / 353.7 MB, free: 8.969 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009701/0.09225, allocations: 0.496 MB / 354.2 MB, free: 8.473 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007602/0.09986, allocations: 4.28 MB / 358.4 MB, free: 4.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-05/0.09995, allocations: 3.953 kB / 358.4 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003833/0.1003, allocations: 216 kB / 358.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002219/0.1006, allocations: 323.1 kB / 359 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003049/0.1036, allocations: 1.714 MB / 360.7 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01983/0.1234, allocations: 15.23 MB / 375.9 MB, free: 2.098 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/0.1273, allocations: 2.547 MB / 378.5 MB, free: 15.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007075/0.128, allocations: 0.5559 MB / 379 MB, free: 14.98 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001283/0.1281, allocations: 69.94 kB / 379.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.1281, allocations: 60.56 kB / 379.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=214): time 4.288e-06/0.1281, allocations: 4 kB / 379.2 MB, free: 14.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=214): time 0.001373/0.1295, allocations: 0.9716 MB / 380.1 MB, free: 13.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.1295, allocations: 99.11 kB / 380.2 MB, free: 13.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/0.1306, allocations: 1.239 MB / 381.5 MB, free: 12.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.433e-05/0.1307, allocations: 61.7 kB / 381.5 MB, free: 12.43 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008611/0.1316, allocations: 2.161 MB / 383.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004437/0.132, allocations: 0.7591 MB / 384.4 MB, free: 9.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005769/0.1326, allocations: 0.6403 MB / 385.1 MB, free: 8.832 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.191e-05/0.1327, allocations: 301.1 kB / 385.4 MB, free: 8.535 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004301/0.1331, allocations: 302.7 kB / 385.7 MB, free: 8.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001191/0.1343, allocations: 1.922 MB / 387.6 MB, free: 5.551 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002669/0.137, allocations: 2.837 MB / 390.4 MB, free: 1.934 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-05/0.137, allocations: 16 kB / 390.4 MB, free: 1.918 MB / 378.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.00311/0.1401, allocations: 2.049 MB / 392.5 MB, free: 15.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.375e-05/0.1401, allocations: 28 kB / 392.5 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.248e-05/0.1402, allocations: 56 kB / 392.6 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.241e-05/0.1403, allocations: 83.94 kB / 392.7 MB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.1428, allocations: 0.991 MB / 393.6 MB, free: 14.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.838e-05/0.1429, allocations: 115.6 kB / 393.8 MB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.1445, allocations: 401.1 kB / 394.2 MB, free: 14.2 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002152/0.1447, allocations: 156 kB / 394.3 MB, free: 14.04 MB / 394.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.001015/0.1457, allocations: 375 kB / 394.7 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.146, allocations: 171.8 kB / 394.8 MB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001956/0.148, allocations: 1.326 MB / 396.2 MB, free: 12.14 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.148, allocations: 27.94 kB / 396.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.148, allocations: 4 kB / 396.2 MB, free: 12.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.148, allocations: 11.95 kB / 396.2 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006581/0.1546, allocations: 4.96 MB / 401.2 MB, free: 6.875 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.691e-05/0.1546, allocations: 17 kB / 401.2 MB, free: 6.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00161/0.1562, allocations: 0.6203 MB / 401.8 MB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/0.1568, allocations: 353.6 kB / 402.2 MB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.853e-05/0.1568, allocations: 28 kB / 402.2 MB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.157, allocations: 63.98 kB / 402.2 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-05/0.157, allocations: 39.86 kB / 402.3 MB, free: 5.766 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.615e-05/0.157, allocations: 23.88 kB / 402.3 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002449/0.1594, allocations: 2.259 MB / 404.6 MB, free: 3.156 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002441/0.1597, allocations: 71.98 kB / 404.6 MB, free: 3.086 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007111/0.1604, allocations: 67.98 kB / 404.7 MB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/0.1607, allocations: 213.3 kB / 404.9 MB, free: 2.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001148/0.1608, allocations: 75.98 kB / 405 MB, free: 2.738 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005812/0.1614, allocations: 0.5218 MB / 405.5 MB, free: 2.215 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1614, allocations: 0 / 405.5 MB, free: 2.215 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002966/0.1643, allocations: 1.203 MB / 406.7 MB, free: 1.008 MB / 394.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.0003517/0.1647, allocations: 215.6 kB / 406.9 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002215/0.1669, allocations: 1.591 MB / 408.5 MB, free: 15.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.871e-05/0.167, allocations: 46.47 kB / 408.6 MB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000996/0.168, allocations: 0.8339 MB / 409.4 MB, free: 14.32 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/0.1711, allocations: 3.49 MB / 412.9 MB, free: 10.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02898/0.2001, allocations: 7.996 MB / 420.9 MB, free: 1.977 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.2011, allocations: 1.055 MB / 421.9 MB, free: 0.8906 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001071/0.2022, allocations: 404.7 kB / 422.3 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008421/0.203, allocations: 0.5049 MB / 422.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of SimCode: time 1.353e-06/0.203, allocations: 0 / 422.8 MB, free: 15.98 MB / 426.7 MB Notification: Performance of Templates: time 0.1754/0.3785, allocations: 31.83 MB / 454.7 MB, free: 110.6 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8152977051213384]