Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001269/0.001269, allocations: 116.7 kB / 19.18 MB, free: 3.762 MB / 14.72 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.001366/0.001366, allocations: 210.6 kB / 22.13 MB, free: 0.8125 MB / 14.72 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 1.531/1.531, allocations: 230.2 MB / 255.2 MB, free: 15.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2296/0.2296, allocations: 46.88 MB / 358.1 MB, free: 10.49 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002301/0.002301, allocations: 80.19 kB / 0.4923 GB, free: 7.871 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1467, allocations: 66 MB / 0.5568 GB, free: 5.746 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005529/0.1523, allocations: 3.524 MB / 0.5602 GB, free: 2.195 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001878/0.1541, allocations: 0.8335 MB / 0.5611 GB, free: 1.355 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000214/0.1544, allocations: 11.94 kB / 0.5611 GB, free: 1.344 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002552/0.1546, allocations: 71.3 kB / 0.5611 GB, free: 1.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002796/0.1549, allocations: 134.8 kB / 0.5613 GB, free: 1.141 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003984/0.1553, allocations: 131.8 kB / 0.5614 GB, free: 1.012 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005945/0.1559, allocations: 0.5218 MB / 0.5619 GB, free: 500 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003387/0.1562, allocations: 177.9 kB / 0.5621 GB, free: 320 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002431/0.1565, allocations: 211.3 kB / 0.5623 GB, free: 108 kB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003573/0.1568, allocations: 235 kB / 0.5625 GB, free: 15.88 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.583e-05/0.1569, allocations: 48 kB / 0.5625 GB, free: 15.83 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.495e-05/0.157, allocations: 48 kB / 0.5626 GB, free: 15.78 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.1571, allocations: 115.5 kB / 0.5627 GB, free: 15.67 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002489/0.1574, allocations: 246.9 kB / 0.5629 GB, free: 15.43 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006858/0.158, allocations: 0.5602 MB / 0.5635 GB, free: 14.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.1581, allocations: 7.938 kB / 0.5635 GB, free: 14.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1581, allocations: 0 / 0.5635 GB, free: 14.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.696e-06/0.1581, allocations: 0 / 0.5635 GB, free: 14.86 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001481/0.1595, allocations: 0.7753 MB / 0.5642 GB, free: 14.03 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.1596, allocations: 8.031 kB / 0.5642 GB, free: 14.02 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.1597, allocations: 56.61 kB / 0.5643 GB, free: 13.97 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005365/0.1602, allocations: 321.5 kB / 0.5646 GB, free: 13.61 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.504e-05/0.1603, allocations: 41.38 kB / 0.5646 GB, free: 13.57 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.55e-05/0.1604, allocations: 48.38 kB / 0.5647 GB, free: 13.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009092/0.1613, allocations: 463.2 kB / 0.5651 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1613, allocations: 3.984 kB / 0.5651 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.686e-05/0.1613, allocations: 20 kB / 0.5652 GB, free: 13.03 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.1613, allocations: 12 kB / 0.5652 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007801/0.1621, allocations: 327.8 kB / 0.5655 GB, free: 12.69 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002872/0.165, allocations: 1.663 MB / 0.5671 GB, free: 10.92 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.1656, allocations: 233 kB / 0.5673 GB, free: 10.67 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.166, allocations: 121.9 kB / 0.5674 GB, free: 10.55 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.166, allocations: 7.938 kB / 0.5675 GB, free: 10.54 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.166, allocations: 38.56 kB / 0.5675 GB, free: 10.49 MB / 430.1 MB Notification: Performance of pre-optimization done (n=26): time 2.535e-06/0.1661, allocations: 0 / 0.5675 GB, free: 10.49 MB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.003255/0.1693, allocations: 1.34 MB / 0.5688 GB, free: 9.035 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.929e-05/0.1694, allocations: 81.11 kB / 0.5689 GB, free: 8.938 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.1697, allocations: 266.5 kB / 0.5691 GB, free: 8.668 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.1697, allocations: 37.64 kB / 0.5692 GB, free: 8.625 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.1699, allocations: 264.1 kB / 0.5694 GB, free: 8.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.17, allocations: 130.9 kB / 0.5695 GB, free: 8.23 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.1702, allocations: 82.02 kB / 0.5696 GB, free: 8.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.1704, allocations: 338.8 kB / 0.5699 GB, free: 7.801 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002854/0.1706, allocations: 104.8 kB / 0.57 GB, free: 7.699 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003796/0.171, allocations: 220.3 kB / 0.5703 GB, free: 7.445 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/0.1717, allocations: 335.7 kB / 0.5706 GB, free: 7.074 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1717, allocations: 0 / 0.5706 GB, free: 7.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009289/0.1726, allocations: 427.2 kB / 0.571 GB, free: 6.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.1726, allocations: 8 kB / 0.571 GB, free: 6.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.1727, allocations: 4.375 kB / 0.571 GB, free: 6.641 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001639/0.1728, allocations: 36.78 kB / 0.571 GB, free: 6.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005032/0.1733, allocations: 127.7 kB / 0.5712 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.1747, allocations: 1.439 MB / 0.5726 GB, free: 4.898 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00026/0.175, allocations: 16 kB / 0.5726 GB, free: 4.883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.175, allocations: 15.98 kB / 0.5726 GB, free: 4.867 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002465/0.1752, allocations: 173.7 kB / 0.5728 GB, free: 4.688 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.136e-05/0.1753, allocations: 31.81 kB / 0.5728 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.373e-05/0.1754, allocations: 34.17 kB / 0.5728 GB, free: 4.621 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.1754, allocations: 4 kB / 0.5728 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/0.1754, allocations: 4 kB / 0.5728 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1754, allocations: 0 / 0.5728 GB, free: 4.613 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001238/0.1767, allocations: 0.7126 MB / 0.5735 GB, free: 3.836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.1767, allocations: 4 kB / 0.5735 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004366/0.1771, allocations: 87.88 kB / 0.5736 GB, free: 3.746 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.715e-05/0.1772, allocations: 28.97 kB / 0.5736 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.932e-05/0.1773, allocations: 15.94 kB / 0.5736 GB, free: 3.699 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001181/0.1784, allocations: 1.418 MB / 0.575 GB, free: 2.141 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1784, allocations: 4.094 kB / 0.575 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.1795, allocations: 0.6087 MB / 0.5756 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001344/0.1797, allocations: 124.9 kB / 0.5758 GB, free: 1.363 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.1797, allocations: 8 kB / 0.5758 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002862/0.18, allocations: 19.97 kB / 0.5758 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.879e-05/0.18, allocations: 31.84 kB / 0.5758 GB, free: 1.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1801, allocations: 16 kB / 0.5758 GB, free: 1.289 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002203/0.1803, allocations: 186 kB / 0.576 GB, free: 1.105 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1803, allocations: 3.938 kB / 0.576 GB, free: 1.102 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004995/0.1808, allocations: 96 kB / 0.5761 GB, free: 1.008 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001662/0.181, allocations: 111.1 kB / 0.5762 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009341/0.1819, allocations: 394.5 kB / 0.5766 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1819, allocations: 4 kB / 0.5766 GB, free: 500 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004191/0.1823, allocations: 240 kB / 0.5768 GB, free: 248 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004975/0.1828, allocations: 55.52 kB / 0.5769 GB, free: 196 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001824/0.1846, allocations: 0.9361 MB / 0.5778 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.1851, allocations: 0.8152 MB / 0.5786 GB, free: 14.37 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1852, allocations: 31.44 kB / 0.5786 GB, free: 14.34 MB / 446.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1852, allocations: 0 / 0.5786 GB, free: 14.34 MB / 446.1 MB Notification: Performance of Templates: time 0.009069/0.1943, allocations: 5.991 MB / 0.5845 GB, free: 8.352 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.988218433922157]