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.001219/0.001219, allocations: 105.4 kB / 18.4 MB, free: 4.57 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.00122/0.001221, allocations: 188 kB / 19.34 MB, free: 3.641 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.495/1.495, allocations: 222.9 MB / 243 MB, free: 15.14 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.2286/0.2286, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 68.45 kB / 409.9 MB, free: 26.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1488, allocations: 60.81 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004074/0.1529, allocations: 2.665 MB / 473.4 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.1544, allocations: 0.7478 MB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1545, allocations: 11.94 kB / 474.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.1548, allocations: 67.38 kB / 474.2 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002217/0.155, allocations: 95.19 kB / 474.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.1553, allocations: 115.8 kB / 474.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.1557, allocations: 414.5 kB / 474.8 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002428/0.156, allocations: 151.1 kB / 475 MB, free: 9.387 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002295/0.1562, allocations: 151.4 kB / 475.1 MB, free: 9.238 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001824/0.1564, allocations: 163.2 kB / 475.3 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.552e-05/0.1565, allocations: 35.98 kB / 475.3 MB, free: 9.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.716e-05/0.1565, allocations: 36 kB / 475.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.045e-05/0.1566, allocations: 79.69 kB / 475.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1568, allocations: 179 kB / 475.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.1572, allocations: 426.4 kB / 476 MB, free: 8.336 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.1572, allocations: 4 kB / 476 MB, free: 8.332 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.484e-06/0.1572, allocations: 4 kB / 476 MB, free: 8.328 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.1572, allocations: 0 / 476 MB, free: 8.328 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.001053/0.1583, allocations: 0.6628 MB / 476.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.1583, allocations: 12.03 kB / 476.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.1584, allocations: 40.47 kB / 476.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.1588, allocations: 276.7 kB / 477 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.1588, allocations: 25.38 kB / 477 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.385e-05/0.1588, allocations: 32.38 kB / 477 MB, free: 7.199 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006126/0.1595, allocations: 358.2 kB / 477.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1595, allocations: 7.938 kB / 477.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.653e-05/0.1595, allocations: 8 kB / 477.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.1595, allocations: 12 kB / 477.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005708/0.1601, allocations: 263.8 kB / 477.7 MB, free: 6.547 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001895/0.162, allocations: 1.334 MB / 479 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004712/0.1625, allocations: 210.5 kB / 479.2 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.1627, allocations: 83.52 kB / 479.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.1628, allocations: 8 kB / 479.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.1628, allocations: 38.5 kB / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.202e-06/0.1628, allocations: 0 / 479.4 MB, free: 4.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007248/0.1635, allocations: 241.2 kB / 479.6 MB, free: 4.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.595e-05/0.1636, allocations: 140.4 kB / 479.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003553/0.164, allocations: 324.4 kB / 480 MB, free: 3.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.98e-05/0.164, allocations: 29.7 kB / 480.1 MB, free: 3.957 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.1642, allocations: 243.7 kB / 480.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.725e-05/0.1642, allocations: 51.3 kB / 480.4 MB, free: 3.664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.038e-05/0.1643, allocations: 57.89 kB / 480.4 MB, free: 3.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.1644, allocations: 342.8 kB / 480.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.1647, allocations: 76.5 kB / 480.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002608/0.1649, allocations: 173 kB / 481 MB, free: 2.973 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004623/0.1654, allocations: 254.8 kB / 481.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1654, allocations: 0 / 481.2 MB, free: 2.684 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006642/0.1661, allocations: 305.6 kB / 481.5 MB, free: 2.379 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.1661, allocations: 12.03 kB / 481.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.1661, allocations: 8.062 kB / 481.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.1662, allocations: 7.984 kB / 481.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003682/0.1665, allocations: 87.88 kB / 481.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.147e-05/0.1666, allocations: 4 kB / 481.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.1668, allocations: 47.56 kB / 481.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.451e-05/0.1668, allocations: 16 kB / 481.7 MB, free: 2.199 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.0001487/0.167, allocations: 153.7 kB / 481.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.443e-05/0.1671, allocations: 27.72 kB / 481.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.236e-05/0.1672, allocations: 30.69 kB / 481.9 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1672, allocations: 4 kB / 481.9 MB, free: 1.977 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.1672, allocations: 3.984 kB / 481.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.221e-06/0.1672, allocations: 3.984 kB / 481.9 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007337/0.1679, allocations: 0.5953 MB / 482.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.168, allocations: 0 / 482.5 MB, free: 1.301 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002848/0.1682, allocations: 59.88 kB / 482.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.1683, allocations: 0 / 482.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.1683, allocations: 7.938 kB / 482.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.1683, allocations: 8.156 kB / 482.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1683, allocations: 0 / 482.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00051/0.1688, allocations: 390.6 kB / 483 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-05/0.1689, allocations: 112.7 kB / 483.1 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.914e-05/0.169, allocations: 11.94 kB / 483.1 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.1692, allocations: 15.97 kB / 483.1 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.609e-05/0.1692, allocations: 23.86 kB / 483.1 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.056e-05/0.1693, allocations: 8 kB / 483.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000305/0.1696, allocations: 223.1 kB / 483.4 MB, free: 416 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1696, allocations: 4 kB / 483.4 MB, free: 412 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003747/0.17, allocations: 71.75 kB / 483.4 MB, free: 340 kB / 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.0001057/0.1701, allocations: 95.25 kB / 483.5 MB, free: 232 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005003/0.1706, allocations: 202.6 kB / 483.7 MB, free: 32 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1706, allocations: 3.938 kB / 483.7 MB, free: 28 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002184/0.1708, allocations: 76.64 kB / 483.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004033/0.1712, allocations: 25.75 kB / 483.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009087/0.1721, allocations: 0.5456 MB / 484.4 MB, free: 15.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003455/0.1725, allocations: 0.7753 MB / 485.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.516e-05/0.1726, allocations: 17.95 kB / 485.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.952e-05/0.1727, allocations: 23.44 kB / 485.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1727, allocations: 0 / 485.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of Templates: time 0.005194/0.1779, allocations: 1.811 MB / 487 MB, free: 12.68 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 -s cvode -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