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.001472/0.001472, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001606/0.001606, allocations: 194 kB / 18.12 MB, free: 5.363 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.427/1.427, allocations: 222.9 MB / 241.8 MB, free: 13.86 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.2468/0.2468, allocations: 44.17 MB / 336.1 MB, free: 2.812 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 71.67 kB / 407.7 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1507, allocations: 60.82 MB / 468.5 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004292/0.1551, allocations: 2.699 MB / 471.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1563, allocations: 0.7361 MB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001404/0.1564, allocations: 8 kB / 472 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.1567, allocations: 55.58 kB / 472 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002252/0.1569, allocations: 87.42 kB / 472.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002563/0.1572, allocations: 87.92 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005377/0.1578, allocations: 386.6 kB / 472.6 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002968/0.1581, allocations: 140.4 kB / 472.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000214/0.1583, allocations: 139.4 kB / 472.8 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1585, allocations: 171.2 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.002e-05/0.1585, allocations: 24 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.371e-05/0.1586, allocations: 24 kB / 473.1 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.557e-05/0.1587, allocations: 67.69 kB / 473.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001549/0.1588, allocations: 175 kB / 473.3 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004693/0.1593, allocations: 394.5 kB / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1593, allocations: 0 / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1593, allocations: 0 / 473.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.1593, allocations: 4 kB / 473.7 MB, free: 9.652 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.001083/0.1604, allocations: 0.6653 MB / 474.3 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1605, allocations: 11.97 kB / 474.4 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.685e-05/0.1606, allocations: 40.47 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.1609, allocations: 272.7 kB / 474.7 MB, free: 8.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.1609, allocations: 29.38 kB / 474.7 MB, free: 8.555 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.244e-05/0.1609, allocations: 36.38 kB / 474.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006951/0.1616, allocations: 354.2 kB / 475.1 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.1617, allocations: 7.969 kB / 475.1 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.1617, allocations: 16 kB / 475.1 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.1617, allocations: 8 kB / 475.1 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006161/0.1624, allocations: 263.8 kB / 475.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.1645, allocations: 1.354 MB / 476.7 MB, free: 6.414 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005048/0.165, allocations: 198.5 kB / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.1652, allocations: 83.52 kB / 477 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.1652, allocations: 0 / 477 MB, free: 6.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.489e-05/0.1653, allocations: 34.56 kB / 477 MB, free: 6.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.292e-06/0.1653, allocations: 4 kB / 477 MB, free: 6.043 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0007793/0.1661, allocations: 245.1 kB / 477.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.547e-05/0.1662, allocations: 132.5 kB / 477.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003449/0.1665, allocations: 328.5 kB / 477.7 MB, free: 5.312 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.1666, allocations: 37.7 kB / 477.8 MB, free: 5.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001717/0.1667, allocations: 239.6 kB / 478 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.1668, allocations: 51.3 kB / 478 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.784e-05/0.1669, allocations: 57.89 kB / 478.1 MB, free: 4.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.1671, allocations: 338.8 kB / 478.4 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000222/0.1673, allocations: 80.5 kB / 478.5 MB, free: 4.492 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.1676, allocations: 168.2 kB / 478.7 MB, free: 4.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.1681, allocations: 251.4 kB / 478.9 MB, free: 4.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.1681, allocations: 4 kB / 478.9 MB, free: 4 MB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0007532/0.1689, allocations: 317 kB / 479.2 MB, free: 3.684 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1689, allocations: 4 kB / 479.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.1689, allocations: 4 kB / 479.2 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1689, allocations: 7.938 kB / 479.2 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003861/0.1693, allocations: 87.81 kB / 479.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.386e-05/0.1693, allocations: 7.984 kB / 479.3 MB, free: 3.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.1696, allocations: 51.77 kB / 479.4 MB, free: 3.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.082e-05/0.1696, allocations: 12 kB / 479.4 MB, free: 3.512 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.000145/0.1698, allocations: 153.7 kB / 479.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.152e-05/0.1699, allocations: 24 kB / 479.6 MB, free: 3.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.854e-05/0.17, allocations: 34.39 kB / 479.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.17, allocations: 7.984 kB / 479.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.17, allocations: 0 / 479.6 MB, free: 3.289 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.17, allocations: 4 kB / 479.6 MB, free: 3.285 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007731/0.1708, allocations: 0.5914 MB / 480.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1708, allocations: 0 / 480.2 MB, free: 2.621 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002769/0.1711, allocations: 60.03 kB / 480.3 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1711, allocations: 8 kB / 480.3 MB, free: 2.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1711, allocations: 7.938 kB / 480.3 MB, free: 2.547 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.377e-06/0.1711, allocations: 4 kB / 480.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.1711, allocations: 0 / 480.3 MB, free: 2.543 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005543/0.1717, allocations: 394.6 kB / 480.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-05/0.1718, allocations: 104.7 kB / 480.8 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.1718, allocations: 15.92 kB / 480.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.172, allocations: 15.98 kB / 480.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.031e-05/0.1721, allocations: 19.92 kB / 480.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/0.1721, allocations: 4 kB / 480.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002717/0.1724, allocations: 227.1 kB / 481 MB, free: 1.727 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.1724, allocations: 0 / 481 MB, free: 1.727 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005082/0.1729, allocations: 75.75 kB / 481.1 MB, free: 1.652 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.0001138/0.1731, allocations: 99.7 kB / 481.2 MB, free: 1.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.1737, allocations: 195.7 kB / 481.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1737, allocations: 0 / 481.4 MB, free: 1.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.1739, allocations: 80.95 kB / 481.5 MB, free: 1.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.1744, allocations: 33.31 kB / 481.5 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.1756, allocations: 0.6788 MB / 482.2 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003596/0.176, allocations: 0.7716 MB / 483 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001123/0.1761, allocations: 25.94 kB / 483 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.1762, allocations: 19.44 kB / 483 MB, free: 15.68 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1762, allocations: 0 / 483 MB, free: 15.68 MB / 366.1 MB Notification: Performance of Templates: time 0.00482/0.181, allocations: 1.629 MB / 484.6 MB, free: 14.05 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","/var/lib/jenkins/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