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.001639/0.001639, allocations: 110 kB / 17.86 MB, free: 5.504 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.002066/0.002066, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.195/2.195, allocations: 222.9 MB / 242.5 MB, free: 13.63 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.3216/0.3216, allocations: 44.17 MB / 336.8 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001546/0.001547, allocations: 60.12 kB / 408.3 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1455, allocations: 60.84 MB / 469.2 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.005464/0.151, allocations: 2.692 MB / 471.9 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001807/0.1528, allocations: 0.7439 MB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003964/0.1533, allocations: 4 kB / 472.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003859/0.1537, allocations: 55.56 kB / 472.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005517/0.1543, allocations: 87.42 kB / 472.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004512/0.1548, allocations: 87.92 kB / 472.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008453/0.1556, allocations: 386.6 kB / 473.2 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004239/0.1561, allocations: 136.4 kB / 473.4 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005068/0.1566, allocations: 139.4 kB / 473.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.1569, allocations: 167.2 kB / 473.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.011e-05/0.157, allocations: 24 kB / 473.7 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.721e-05/0.1571, allocations: 24 kB / 473.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.903e-05/0.1572, allocations: 67.7 kB / 473.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002482/0.1574, allocations: 179 kB / 474 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000434/0.1579, allocations: 307.2 kB / 474.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.915e-06/0.1579, allocations: 0 / 474.3 MB, free: 9.695 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1579, allocations: 3.938 kB / 474.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.1579, allocations: 0 / 474.3 MB, free: 9.691 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.001425/0.1594, allocations: 0.6667 MB / 474.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.763e-05/0.1594, allocations: 12.03 kB / 474.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.1596, allocations: 36.47 kB / 475 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.16, allocations: 276.6 kB / 475.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.378e-05/0.16, allocations: 21.38 kB / 475.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.1601, allocations: 32.38 kB / 475.3 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007851/0.1609, allocations: 362.2 kB / 475.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.1609, allocations: 0 / 475.6 MB, free: 8.191 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.161, allocations: 16 kB / 475.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.161, allocations: 8 kB / 475.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.1617, allocations: 274.2 kB / 475.9 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002188/0.1639, allocations: 1.346 MB / 477.3 MB, free: 6.461 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005871/0.1645, allocations: 202.5 kB / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.1647, allocations: 79.56 kB / 477.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.1647, allocations: 7.984 kB / 477.6 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.1648, allocations: 34.56 kB / 477.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.623e-06/0.1648, allocations: 0 / 477.6 MB, free: 6.086 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008296/0.1656, allocations: 245.2 kB / 477.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.109e-05/0.1657, allocations: 132.5 kB / 478 MB, free: 5.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003893/0.1661, allocations: 332.4 kB / 478.3 MB, free: 5.352 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.256e-05/0.1662, allocations: 25.7 kB / 478.3 MB, free: 5.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1664, allocations: 243.7 kB / 478.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.253e-05/0.1664, allocations: 59.27 kB / 478.6 MB, free: 5.016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.952e-05/0.1665, allocations: 53.89 kB / 478.7 MB, free: 4.953 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001745/0.1667, allocations: 346.8 kB / 479 MB, free: 4.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.167, allocations: 73 kB / 479.1 MB, free: 4.535 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.1673, allocations: 180.1 kB / 479.3 MB, free: 4.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005487/0.1678, allocations: 250.9 kB / 479.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.1678, allocations: 0 / 479.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000692/0.1685, allocations: 305.1 kB / 479.8 MB, free: 3.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.1686, allocations: 4 kB / 479.8 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1686, allocations: 4 kB / 479.8 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.1686, allocations: 4 kB / 479.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004347/0.1691, allocations: 95.86 kB / 479.9 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.1691, allocations: 7.938 kB / 479.9 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.1694, allocations: 47.56 kB / 480 MB, free: 3.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.325e-05/0.1694, allocations: 12.06 kB / 480 MB, free: 3.559 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001769/0.1696, allocations: 153.7 kB / 480.1 MB, free: 3.398 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.1697, allocations: 27.72 kB / 480.1 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.572e-05/0.1698, allocations: 34.41 kB / 480.2 MB, free: 3.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.1698, allocations: 3.938 kB / 480.2 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.1698, allocations: 4 kB / 480.2 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.1698, allocations: 3.984 kB / 480.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008505/0.1707, allocations: 0.5836 MB / 480.8 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.1707, allocations: 7.984 kB / 480.8 MB, free: 2.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.171, allocations: 55.89 kB / 480.8 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.171, allocations: 4 kB / 480.8 MB, free: 2.605 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.171, allocations: 12.09 kB / 480.9 MB, free: 2.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.965e-06/0.1711, allocations: 3.984 kB / 480.9 MB, free: 2.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.113e-06/0.1711, allocations: 4.438 kB / 480.9 MB, free: 2.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006252/0.1717, allocations: 386.6 kB / 481.2 MB, free: 2.176 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1718, allocations: 120.6 kB / 481.4 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.1719, allocations: 3.938 kB / 481.4 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.1721, allocations: 20.05 kB / 481.4 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.867e-05/0.1722, allocations: 23.97 kB / 481.4 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.1722, allocations: 4 kB / 481.4 MB, free: 1.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002435/0.1725, allocations: 227.1 kB / 481.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1725, allocations: 0 / 481.6 MB, free: 1.766 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.1729, allocations: 71.75 kB / 481.7 MB, free: 1.695 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 (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.0001351/0.1731, allocations: 99.72 kB / 481.8 MB, free: 1.586 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005553/0.1736, allocations: 199.6 kB / 482 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.1736, allocations: 0 / 482 MB, free: 1.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.1739, allocations: 84.69 kB / 482.1 MB, free: 1.309 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005754/0.1745, allocations: 33.31 kB / 482.1 MB, free: 1.277 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.176, allocations: 0.7014 MB / 482.8 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003994/0.1765, allocations: 0.7716 MB / 483.6 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.986e-05/0.1766, allocations: 23.42 kB / 483.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1766, allocations: 0 / 483.6 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Templates: time 0.005771/0.1823, allocations: 3.1 MB / 486.7 MB, free: 12.61 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.Sources.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches