Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000959/0.0009593, allocations: 97.03 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009724/0.0009725, allocations: 189.1 kB / 17.88 MB, free: 5.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.464/1.464, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2293/0.2293, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003471, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.151, allocations: 61.92 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.002819/0.1539, allocations: 2.124 MB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.155, allocations: 0.7211 MB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.1552, allocations: 11.94 kB / 474.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001679/0.1553, allocations: 39.7 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002102/0.1556, allocations: 95.72 kB / 474.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002323/0.1558, allocations: 79.91 kB / 474.5 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002971/0.1561, allocations: 263.5 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002399/0.1563, allocations: 115.6 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002946/0.1567, allocations: 131.5 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001717/0.1568, allocations: 143.3 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.148e-05/0.1569, allocations: 20 kB / 475.2 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.32e-05/0.1569, allocations: 16 kB / 475.2 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.44e-05/0.157, allocations: 55.7 kB / 475.2 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.367e-05/0.1571, allocations: 89.52 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.1574, allocations: 311 kB / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1574, allocations: 4 kB / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.689e-06/0.1574, allocations: 0 / 475.6 MB, free: 9.531 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.022e-05/0.1574, allocations: 3.938 kB / 475.6 MB, free: 9.527 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001041/0.1585, allocations: 0.6199 MB / 476.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/0.1585, allocations: 12.03 kB / 476.3 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.408e-05/0.1586, allocations: 39.53 kB / 476.3 MB, free: 8.809 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.1589, allocations: 259.6 kB / 476.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.936e-05/0.159, allocations: 25 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.508e-05/0.159, allocations: 28 kB / 476.6 MB, free: 8.461 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000681/0.1597, allocations: 378.5 kB / 477 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.1597, allocations: 0 / 477 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/0.1598, allocations: 8 kB / 477 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.1598, allocations: 20 kB / 477 MB, free: 8.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006035/0.1604, allocations: 288.9 kB / 477.3 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002015/0.1624, allocations: 1.355 MB / 478.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004852/0.1629, allocations: 210.5 kB / 478.9 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.684e-05/0.163, allocations: 4 kB / 478.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.163, allocations: 38.77 kB / 478.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.824e-06/0.163, allocations: 3.938 kB / 478.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008039/0.1638, allocations: 281.5 kB / 479.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.422e-05/0.1639, allocations: 132.5 kB / 479.3 MB, free: 5.574 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003412/0.1643, allocations: 332.4 kB / 479.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1643, allocations: 29.7 kB / 479.7 MB, free: 5.207 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1645, allocations: 235.7 kB / 479.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.898e-05/0.1645, allocations: 51.2 kB / 479.9 MB, free: 4.918 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.246e-05/0.1646, allocations: 8 kB / 479.9 MB, free: 4.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1647, allocations: 338.8 kB / 480.3 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002369/0.165, allocations: 92.5 kB / 480.4 MB, free: 4.477 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003003/0.1653, allocations: 176.1 kB / 480.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002626/0.1656, allocations: 119.9 kB / 480.7 MB, free: 4.148 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.1656, allocations: 4 kB / 480.7 MB, free: 4.145 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000594/0.1662, allocations: 321.2 kB / 481 MB, free: 3.824 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.1662, allocations: 4 kB / 481 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.1662, allocations: 7.938 kB / 481 MB, free: 3.812 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.1662, allocations: 7.953 kB / 481 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.1666, allocations: 111.9 kB / 481.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/0.1667, allocations: 7.938 kB / 481.1 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002506/0.1669, allocations: 47.58 kB / 481.2 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.1669, allocations: 16 kB / 481.2 MB, free: 3.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.1671, allocations: 150.2 kB / 481.3 MB, free: 3.469 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.855e-05/0.1672, allocations: 35.62 kB / 481.4 MB, free: 3.434 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.27e-05/0.1673, allocations: 30.41 kB / 481.4 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.1673, allocations: 7.953 kB / 481.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.1673, allocations: 0 / 481.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.1673, allocations: 0 / 481.4 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000734/0.168, allocations: 0.5882 MB / 482 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.168, allocations: 0 / 482 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.1683, allocations: 75.88 kB / 482.1 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.48e-06/0.1683, allocations: 4 kB / 482.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.1684, allocations: 8.094 kB / 482.1 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.828e-06/0.1684, allocations: 4 kB / 482.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.1684, allocations: 0 / 482.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.169, allocations: 488.8 kB / 482.5 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/0.1691, allocations: 112.7 kB / 482.7 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.655e-05/0.1691, allocations: 4 kB / 482.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002173/0.1694, allocations: 23.98 kB / 482.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.1694, allocations: 11.98 kB / 482.7 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.1694, allocations: 8 kB / 482.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002119/0.1697, allocations: 227 kB / 482.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1697, allocations: 0 / 482.9 MB, free: 1.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003961/0.1701, allocations: 75.78 kB / 483 MB, free: 1.629 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.1702, allocations: 99.19 kB / 483.1 MB, free: 1.52 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005529/0.1708, allocations: 211.8 kB / 483.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.1708, allocations: 0 / 483.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002214/0.171, allocations: 88.58 kB / 483.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1714, allocations: 29.38 kB / 483.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.1725, allocations: 0.6663 MB / 484.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004536/0.173, allocations: 0.7794 MB / 484.9 MB, free: 15.69 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001296/0.1731, allocations: 30.2 kB / 484.9 MB, free: 15.65 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.5e-05/0.1732, allocations: 19.44 kB / 484.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of SimCode: time 5e-07/0.1732, allocations: 0 / 484.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of Templates: time 0.00518/0.1784, allocations: 1.556 MB / 486.5 MB, free: 14.08 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches