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.001121/0.001121, allocations: 98.77 kB / 16.94 MB, free: 6.445 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.001571/0.001571, allocations: 182.3 kB / 17.83 MB, free: 6.043 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.446/1.446, allocations: 205.4 MB / 224 MB, free: 13.17 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.0005238/0.0005238, allocations: 11.98 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1203, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.006896/0.1272, allocations: 5.121 MB / 333.5 MB, free: 14.95 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004624/0.1319, allocations: 2.071 MB / 335.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008307/0.1328, allocations: 19.94 kB / 335.5 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007331/0.1335, allocations: 290.7 kB / 335.8 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.1349, allocations: 0.4946 MB / 336.3 MB, free: 12.07 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00109/0.136, allocations: 259.5 kB / 336.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001452/0.1375, allocations: 0.94 MB / 337.5 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000564/0.138, allocations: 382 kB / 337.9 MB, free: 10.49 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006025/0.1386, allocations: 454.4 kB / 338.3 MB, free: 10.04 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006072/0.1393, allocations: 0.5368 MB / 338.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000104/0.1394, allocations: 60 kB / 338.9 MB, free: 9.445 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.1396, allocations: 80 kB / 339 MB, free: 9.367 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002237/0.1398, allocations: 211.2 kB / 339.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.14, allocations: 249.1 kB / 339.5 MB, free: 8.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001257/0.1413, allocations: 1.519 MB / 341 MB, free: 7.387 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1413, allocations: 0 / 341 MB, free: 7.387 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.1413, allocations: 4 kB / 341 MB, free: 7.383 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.1414, allocations: 0 / 341 MB, free: 7.383 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.002901/0.1443, allocations: 1.387 MB / 342.4 MB, free: 5.945 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.1443, allocations: 11.97 kB / 342.4 MB, free: 5.934 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.1446, allocations: 130.5 kB / 342.5 MB, free: 5.805 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.1457, allocations: 0.6765 MB / 343.2 MB, free: 5.086 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/0.1459, allocations: 81.98 kB / 343.3 MB, free: 5.004 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.146, allocations: 99.91 kB / 343.4 MB, free: 4.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002056/0.1481, allocations: 1.021 MB / 344.4 MB, free: 3.879 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.1481, allocations: 4 kB / 344.4 MB, free: 3.875 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.461e-05/0.1482, allocations: 40 kB / 344.4 MB, free: 3.836 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/0.1483, allocations: 28 kB / 344.5 MB, free: 3.809 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002108/0.1504, allocations: 0.9459 MB / 345.4 MB, free: 2.859 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005732/0.1561, allocations: 3.68 MB / 349.1 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.1594, allocations: 1.095 MB / 350.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.397e-05/0.1595, allocations: 12.17 kB / 350.2 MB, free: 13.87 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.712e-05/0.1595, allocations: 38.75 kB / 350.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.346e-06/0.1595, allocations: 0 / 350.2 MB, free: 13.82 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.005204/0.1647, allocations: 1.978 MB / 352.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.1648, allocations: 85.11 kB / 352.3 MB, free: 11.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.166, allocations: 0.974 MB / 353.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.837e-05/0.1661, allocations: 37.7 kB / 353.3 MB, free: 10.71 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003694/0.1665, allocations: 0.5183 MB / 353.8 MB, free: 10.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.1667, allocations: 240.6 kB / 354 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.397e-05/0.1667, allocations: 16 kB / 354.1 MB, free: 9.926 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1669, allocations: 338 kB / 354.4 MB, free: 9.59 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000916/0.1678, allocations: 373.8 kB / 354.8 MB, free: 9.227 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.1688, allocations: 0.5575 MB / 355.3 MB, free: 8.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009453/0.1698, allocations: 425.9 kB / 355.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.1698, allocations: 3.984 kB / 355.7 MB, free: 8.172 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002311/0.1721, allocations: 1.091 MB / 356.8 MB, free: 7.07 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1722, allocations: 4 kB / 356.8 MB, free: 7.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.1722, allocations: 15.97 kB / 356.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.1722, allocations: 8 kB / 356.9 MB, free: 7.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001262/0.1735, allocations: 323.5 kB / 357.2 MB, free: 6.727 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/0.1735, allocations: 19.94 kB / 357.2 MB, free: 6.707 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008814/0.1744, allocations: 83.94 kB / 357.3 MB, free: 6.625 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.712e-05/0.1745, allocations: 39.98 kB / 357.3 MB, free: 6.586 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_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005857/0.1751, allocations: 281.6 kB / 357.6 MB, free: 6.301 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001707/0.1752, allocations: 98.81 kB / 357.7 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00101/0.1763, allocations: 430.1 kB / 358.1 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.1763, allocations: 8 kB / 358.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.1763, allocations: 0 / 358.1 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.336e-05/0.1763, allocations: 11.92 kB / 358.1 MB, free: 5.754 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003789/0.1801, allocations: 2.336 MB / 360.5 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.038e-05/0.1801, allocations: 11.94 kB / 360.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008657/0.181, allocations: 236.5 kB / 360.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.181, allocations: 8 kB / 360.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.201e-05/0.1811, allocations: 23.98 kB / 360.7 MB, free: 3.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.605e-05/0.1811, allocations: 19.92 kB / 360.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.127e-06/0.1811, allocations: 11.94 kB / 360.8 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.1829, allocations: 1.396 MB / 362.2 MB, free: 1.301 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/0.1832, allocations: 191.8 kB / 362.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001254/0.1834, allocations: 23.95 kB / 362.4 MB, free: 1.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006371/0.184, allocations: 63.95 kB / 362.4 MB, free: 1.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.1841, allocations: 67.81 kB / 362.5 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/0.1842, allocations: 24 kB / 362.5 MB, free: 0.918 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009024/0.1851, allocations: 0.6747 MB / 363.2 MB, free: 252 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1851, allocations: 0 / 363.2 MB, free: 252 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008536/0.1859, allocations: 208 kB / 363.4 MB, free: 44 kB / 302.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 (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.0008715/0.1868, allocations: 373 kB / 363.8 MB, free: 15.69 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001921/0.1888, allocations: 0.8122 MB / 364.6 MB, free: 14.88 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.1888, allocations: 4.062 kB / 364.6 MB, free: 14.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008281/0.1896, allocations: 389.1 kB / 365 MB, free: 14.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/0.1906, allocations: 179.3 kB / 365.1 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003576/0.1942, allocations: 2.268 MB / 367.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006663/0.1948, allocations: 1.038 MB / 368.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005662/0.1954, allocations: 127.2 kB / 368.6 MB, free: 10.74 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.1956, allocations: 75.41 kB / 368.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1957, allocations: 0 / 368.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of Templates: time 0.01965/0.2153, allocations: 9.518 MB / 378.2 MB, free: 1.129 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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