Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.flange.f|pmActuator.flange.f|pmActuator.coil.Phi|pmActuator.coil.L_stat",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 104.7 kB / 17.15 MB, free: 6.305 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.001099/0.001099, allocations: 198 kB / 18.07 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 47.92 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1045, allocations: 46.64 MB / 326.6 MB, free: 4.895 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008769/0.1133, allocations: 6.33 MB / 332.9 MB, free: 14.53 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.1176, allocations: 2.101 MB / 335 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.1189, allocations: 19.94 kB / 335.1 MB, free: 12.39 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.1202, allocations: 298.6 kB / 335.3 MB, free: 12.1 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001563/0.1218, allocations: 437.4 kB / 335.8 MB, free: 11.67 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.1229, allocations: 391.6 kB / 336.2 MB, free: 11.29 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001912/0.1249, allocations: 1.432 MB / 337.6 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007052/0.1256, allocations: 451.1 kB / 338 MB, free: 9.391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007351/0.1263, allocations: 486 kB / 338.5 MB, free: 8.914 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008591/0.1272, allocations: 0.6185 MB / 339.1 MB, free: 8.293 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002442/0.1275, allocations: 76 kB / 339.2 MB, free: 8.219 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.1278, allocations: 104 kB / 339.3 MB, free: 8.117 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000225/0.128, allocations: 243 kB / 339.5 MB, free: 7.879 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005198/0.1285, allocations: 0.5868 MB / 340.1 MB, free: 7.289 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001399/0.1299, allocations: 1.838 MB / 342 MB, free: 5.445 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.13, allocations: 3.938 kB / 342 MB, free: 5.441 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.13, allocations: 0 / 342 MB, free: 5.441 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.225e-05/0.13, allocations: 0 / 342 MB, free: 5.441 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003243/0.1333, allocations: 1.543 MB / 343.5 MB, free: 3.844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.677e-05/0.1333, allocations: 8.031 kB / 343.5 MB, free: 3.836 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002665/0.1336, allocations: 131.3 kB / 343.6 MB, free: 3.707 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.1349, allocations: 0.7045 MB / 344.3 MB, free: 2.961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001236/0.135, allocations: 78.56 kB / 344.4 MB, free: 2.887 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.1352, allocations: 91.94 kB / 344.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002112/0.1373, allocations: 1.021 MB / 345.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.1373, allocations: 0 / 345.5 MB, free: 1.762 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.099e-05/0.1374, allocations: 36 kB / 345.6 MB, free: 1.727 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.1375, allocations: 24 kB / 345.6 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.1396, allocations: 0.8874 MB / 346.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005965/0.1456, allocations: 3.668 MB / 350.1 MB, free: 12.96 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.1487, allocations: 0.8949 MB / 351 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008382/0.1496, allocations: 373.4 kB / 351.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.28e-05/0.1496, allocations: 11.98 kB / 351.4 MB, free: 11.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.794e-05/0.1497, allocations: 39.16 kB / 351.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.837e-06/0.1497, allocations: 0 / 351.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005286/0.155, allocations: 1.788 MB / 353.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.054e-05/0.1551, allocations: 89.11 kB / 353.3 MB, free: 9.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.1564, allocations: 0.9741 MB / 354.3 MB, free: 8.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.1565, allocations: 37.64 kB / 354.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000398/0.1569, allocations: 0.526 MB / 354.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.1571, allocations: 228.7 kB / 355.1 MB, free: 7.926 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002713/0.1574, allocations: 166.5 kB / 355.3 MB, free: 7.758 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1575, allocations: 337.9 kB / 355.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009017/0.1584, allocations: 341.8 kB / 355.9 MB, free: 7.09 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.1595, allocations: 0.5261 MB / 356.4 MB, free: 6.488 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001798/0.1613, allocations: 0.8366 MB / 357.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/0.1613, allocations: 0 / 357.3 MB, free: 5.578 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002518/0.1638, allocations: 1.029 MB / 358.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.1639, allocations: 8 kB / 358.3 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.1639, allocations: 4 kB / 358.3 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/0.1639, allocations: 8 kB / 358.3 MB, free: 4.523 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.1652, allocations: 283.6 kB / 358.6 MB, free: 4.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.1652, allocations: 15.94 kB / 358.6 MB, free: 4.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009527/0.1662, allocations: 63.92 kB / 358.7 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-05/0.1662, allocations: 39.98 kB / 358.7 MB, free: 4.129 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 108 * 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.0005724/0.1668, allocations: 285.6 kB / 359 MB, free: 3.84 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.167, allocations: 98.81 kB / 359.1 MB, free: 3.742 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001048/0.1681, allocations: 382.2 kB / 359.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.1681, allocations: 11.98 kB / 359.5 MB, free: 3.344 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.938e-06/0.1681, allocations: 7.922 kB / 359.5 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.1681, allocations: 0 / 359.5 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003956/0.1721, allocations: 2.302 MB / 361.8 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.1721, allocations: 8 kB / 361.8 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/0.173, allocations: 203.7 kB / 362 MB, free: 0.6875 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.173, allocations: 12 kB / 362 MB, free: 0.6758 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.1731, allocations: 19.98 kB / 362 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.1731, allocations: 19.88 kB / 362.1 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/0.1731, allocations: 8 kB / 362.1 MB, free: 0.6289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001773/0.1749, allocations: 1.029 MB / 363.1 MB, free: 15.49 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003037/0.1752, allocations: 187.8 kB / 363.3 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.1753, allocations: 20 kB / 363.3 MB, free: 15.27 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/0.176, allocations: 51.89 kB / 363.3 MB, free: 15.22 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001439/0.1761, allocations: 71.73 kB / 363.4 MB, free: 15.15 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.878e-05/0.1762, allocations: 28 kB / 363.4 MB, free: 15.12 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001002/0.1772, allocations: 0.6747 MB / 364.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.3e-07/0.1772, allocations: 0 / 364.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008869/0.1781, allocations: 208 kB / 364.3 MB, free: 14.25 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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 (67): * Single equations (assignments): 67 * 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.001003/0.1791, allocations: 378.3 kB / 364.7 MB, free: 13.89 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.181, allocations: 0.7608 MB / 365.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.181, allocations: 0 / 365.4 MB, free: 13.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008176/0.1819, allocations: 373.8 kB / 365.8 MB, free: 12.76 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.1832, allocations: 191.8 kB / 366 MB, free: 12.57 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.1868, allocations: 2.317 MB / 368.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006113/0.1874, allocations: 1.018 MB / 369.3 MB, free: 9.102 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005561/0.1879, allocations: 123.2 kB / 369.5 MB, free: 8.977 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002224/0.1882, allocations: 71.41 kB / 369.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1882, allocations: 0 / 369.5 MB, free: 8.906 MB / 318.1 MB Notification: Performance of Templates: time 0.1745/0.3627, allocations: 9.991 MB / 379.5 MB, free: 51.32 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches