Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001166/0.001166, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001408/0.001408, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 246.8 MB, free: 10.65 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2369/0.2369, allocations: 46.1 MB / 344.1 MB, free: 11.62 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 73.5 kB / 417.6 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1425, allocations: 62.44 MB / 480 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.00568/0.1482, allocations: 3.522 MB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.1501, allocations: 0.8256 MB / 484.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.1505, allocations: 12 kB / 484.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003283/0.1509, allocations: 79.22 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004508/0.1514, allocations: 122.8 kB / 484.6 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000489/0.1518, allocations: 135.8 kB / 484.7 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006644/0.1525, allocations: 0.514 MB / 485.2 MB, free: 80 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003976/0.1529, allocations: 241.8 kB / 485.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003089/0.1532, allocations: 207.3 kB / 485.7 MB, free: 15.64 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003514/0.1536, allocations: 231 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.582e-05/0.1537, allocations: 56 kB / 485.9 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1538, allocations: 48 kB / 486 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.41e-05/0.1539, allocations: 107.6 kB / 486.1 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002657/0.1542, allocations: 250.9 kB / 486.3 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006913/0.1549, allocations: 0.5491 MB / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1549, allocations: 0 / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1549, allocations: 0 / 486.9 MB, free: 14.41 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.155, allocations: 0 / 486.9 MB, free: 14.41 MB / 366.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.001825/0.1568, allocations: 0.7642 MB / 487.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.1568, allocations: 11.97 kB / 487.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.157, allocations: 56.28 kB / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.1574, allocations: 313.5 kB / 488 MB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.1575, allocations: 33.38 kB / 488 MB, free: 13.15 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.1575, allocations: 48.36 kB / 488.1 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008368/0.1584, allocations: 467.3 kB / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.1584, allocations: 0 / 488.6 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.227e-05/0.1585, allocations: 16 kB / 488.6 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.23e-05/0.1585, allocations: 12 kB / 488.6 MB, free: 12.6 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007145/0.1592, allocations: 331.8 kB / 488.9 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002545/0.1618, allocations: 1.682 MB / 490.6 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005478/0.1623, allocations: 248.9 kB / 490.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.1627, allocations: 133.7 kB / 491 MB, free: 10.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.1627, allocations: 7.938 kB / 491 MB, free: 10.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.1627, allocations: 38.56 kB / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.764e-06/0.1627, allocations: 0 / 491 MB, free: 10.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.003076/0.1658, allocations: 1.34 MB / 492.3 MB, free: 8.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.1659, allocations: 85.11 kB / 492.4 MB, free: 8.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002951/0.1662, allocations: 262.6 kB / 492.7 MB, free: 8.207 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.779e-05/0.1662, allocations: 29.7 kB / 492.7 MB, free: 8.172 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001697/0.1664, allocations: 263.4 kB / 493 MB, free: 7.906 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.934e-05/0.1665, allocations: 118.2 kB / 493.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/0.1666, allocations: 74.12 kB / 493.2 MB, free: 7.711 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.1668, allocations: 338.8 kB / 493.5 MB, free: 7.371 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002773/0.1671, allocations: 112.8 kB / 493.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.1674, allocations: 208.3 kB / 493.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005941/0.168, allocations: 349 kB / 494.1 MB, free: 6.633 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.168, allocations: 4 kB / 494.1 MB, free: 6.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008336/0.1689, allocations: 420.2 kB / 494.6 MB, free: 6.211 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.1689, allocations: 8.062 kB / 494.6 MB, free: 6.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.768e-06/0.1689, allocations: 4 kB / 494.6 MB, free: 6.199 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.1691, allocations: 36.84 kB / 494.6 MB, free: 6.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.1695, allocations: 119.8 kB / 494.7 MB, free: 6.043 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001148/0.1707, allocations: 1.435 MB / 496.2 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002676/0.171, allocations: 24.05 kB / 496.2 MB, free: 4.445 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.682e-05/0.171, allocations: 19.94 kB / 496.2 MB, free: 4.426 MB / 366.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.0001878/0.1712, allocations: 168.8 kB / 496.4 MB, free: 4.254 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.521e-05/0.1713, allocations: 31.62 kB / 496.4 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.105e-05/0.1714, allocations: 38.17 kB / 496.4 MB, free: 4.184 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.1714, allocations: 4 kB / 496.4 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.1714, allocations: 0 / 496.4 MB, free: 4.18 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.1714, allocations: 7.984 kB / 496.4 MB, free: 4.172 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.1725, allocations: 0.7115 MB / 497.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.1725, allocations: 0 / 497.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004097/0.173, allocations: 99.94 kB / 497.3 MB, free: 3.297 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.58e-05/0.1731, allocations: 28.83 kB / 497.3 MB, free: 3.266 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.447e-05/0.1731, allocations: 15.88 kB / 497.3 MB, free: 3.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001021/0.1741, allocations: 1.426 MB / 498.7 MB, free: 1.684 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.1742, allocations: 4 kB / 498.7 MB, free: 1.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009755/0.1751, allocations: 0.6039 MB / 499.3 MB, free: 1.055 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1753, allocations: 124.7 kB / 499.5 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.079e-05/0.1753, allocations: 8 kB / 499.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000263/0.1756, allocations: 23.98 kB / 499.5 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.1757, allocations: 27.91 kB / 499.5 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1757, allocations: 8 kB / 499.5 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001727/0.1759, allocations: 186 kB / 499.7 MB, free: 0.668 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1759, allocations: 0 / 499.7 MB, free: 0.668 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004638/0.1763, allocations: 92 kB / 499.8 MB, free: 0.5781 MB / 366.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.0001235/0.1765, allocations: 107.2 kB / 499.9 MB, free: 476 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008452/0.1773, allocations: 418.9 kB / 0.4886 GB, free: 44 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1773, allocations: 0 / 0.4886 GB, free: 44 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004195/0.1778, allocations: 250.6 kB / 0.4888 GB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005415/0.1783, allocations: 44.53 kB / 0.4889 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001626/0.18, allocations: 0.9046 MB / 0.4897 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004813/0.1805, allocations: 0.8152 MB / 0.4905 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001812/0.1806, allocations: 38.95 kB / 0.4906 GB, free: 13.92 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.478e-05/0.1807, allocations: 23.44 kB / 0.4906 GB, free: 13.89 MB / 382.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1808, allocations: 3.938 kB / 0.4906 GB, free: 13.89 MB / 382.1 MB Notification: Performance of Templates: time 0.008515/0.1893, allocations: 3.1 MB / 0.4936 GB, free: 10.82 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches