Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) 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(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_4.0.0_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_4.0.0_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.001656/0.001656, allocations: 110.1 kB / 17.17 MB, free: 6.336 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.001663/0.001663, allocations: 198.9 kB / 18.08 MB, free: 5.43 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.924/1.924, allocations: 222.9 MB / 241.8 MB, free: 15.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001723/0.001723, allocations: 47.81 kB / 300.6 MB, free: 6.352 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1584, allocations: 49.46 MB / 350.1 MB, free: 4.887 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.01246/0.1709, allocations: 6.397 MB / 356.5 MB, free: 14.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006102/0.1771, allocations: 2.154 MB / 358.6 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.1784, allocations: 19.94 kB / 358.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001346/0.1798, allocations: 310.6 kB / 358.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002222/0.1821, allocations: 437.4 kB / 359.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001519/0.1836, allocations: 392.7 kB / 359.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0026/0.1862, allocations: 1.425 MB / 361.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001039/0.1873, allocations: 459.4 kB / 361.6 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00102/0.1883, allocations: 497.9 kB / 362.1 MB, free: 8.766 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001025/0.1894, allocations: 0.6068 MB / 362.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000217/0.1896, allocations: 76 kB / 362.8 MB, free: 8.082 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.19, allocations: 108 kB / 362.9 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003298/0.1904, allocations: 243 kB / 363.1 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008454/0.1912, allocations: 0.5868 MB / 363.7 MB, free: 7.148 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002069/0.1933, allocations: 1.551 MB / 365.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.1933, allocations: 0 / 365.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1934, allocations: 0 / 365.3 MB, free: 5.594 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.404e-05/0.1934, allocations: 0 / 365.3 MB, free: 5.594 MB / 302.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.005211/0.1986, allocations: 1.55 MB / 366.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.1987, allocations: 8.031 kB / 366.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003643/0.1991, allocations: 127.4 kB / 367 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.2009, allocations: 0.7045 MB / 367.7 MB, free: 3.109 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001967/0.2011, allocations: 78.56 kB / 367.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.2013, allocations: 95.94 kB / 367.8 MB, free: 2.941 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003117/0.2045, allocations: 1.013 MB / 368.8 MB, free: 1.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/0.2045, allocations: 3.906 kB / 368.8 MB, free: 1.906 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.2047, allocations: 43.94 kB / 368.9 MB, free: 1.863 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.2047, allocations: 24 kB / 368.9 MB, free: 1.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003203/0.2079, allocations: 0.8913 MB / 369.8 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2759/0.4838, allocations: 3.646 MB / 373.4 MB, free: 23.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004597/0.4885, allocations: 0.889 MB / 374.3 MB, free: 23.29 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00129/0.4898, allocations: 380.5 kB / 374.7 MB, free: 23.14 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.451e-05/0.4899, allocations: 10.39 kB / 374.7 MB, free: 23.14 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.397e-05/0.49, allocations: 38.89 kB / 374.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 4.969e-06/0.49, allocations: 3.844 kB / 374.8 MB, free: 23.1 MB / 302.1 MB Notification: Performance of matching and sorting (n=67): time 0.008532/0.4985, allocations: 1.774 MB / 376.5 MB, free: 22.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.43e-05/0.4986, allocations: 84.69 kB / 376.6 MB, free: 22.31 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/0.501, allocations: 0.9793 MB / 377.6 MB, free: 21.91 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.5012, allocations: 38.33 kB / 377.6 MB, free: 21.87 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005327/0.5017, allocations: 0.5257 MB / 378.2 MB, free: 21.45 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/0.502, allocations: 234.4 kB / 378.4 MB, free: 21.27 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000435/0.5025, allocations: 157.1 kB / 378.5 MB, free: 21.19 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.5026, allocations: 344.3 kB / 378.9 MB, free: 20.87 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001621/0.5042, allocations: 339.8 kB / 379.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001778/0.506, allocations: 0.5222 MB / 379.7 MB, free: 20.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003018/0.509, allocations: 0.8295 MB / 380.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.5091, allocations: 1.281 kB / 380.6 MB, free: 19.96 MB / 302.1 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.00426/0.5134, allocations: 1.017 MB / 381.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.5134, allocations: 7.609 kB / 381.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.5135, allocations: 6.812 kB / 381.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.231e-05/0.5135, allocations: 9.281 kB / 381.6 MB, free: 19.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002236/0.5158, allocations: 289.7 kB / 381.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.986e-05/0.5158, allocations: 11.09 kB / 381.9 MB, free: 19.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.5175, allocations: 72.75 kB / 382 MB, free: 19.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.5176, allocations: 37.59 kB / 382 MB, free: 19.52 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.0007866/0.5184, allocations: 292.2 kB / 382.3 MB, free: 19.29 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003602/0.5188, allocations: 97.84 kB / 382.4 MB, free: 19.24 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/0.5205, allocations: 382.5 kB / 382.8 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.5205, allocations: 11 kB / 382.8 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.671e-05/0.5206, allocations: 1.062 kB / 382.8 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.04e-05/0.5206, allocations: 4.344 kB / 382.8 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006682/0.5273, allocations: 2.292 MB / 385.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.5273, allocations: 6.969 kB / 385.1 MB, free: 17.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001509/0.5289, allocations: 218.2 kB / 385.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.26e-05/0.5289, allocations: 9.094 kB / 385.3 MB, free: 17.73 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.149e-05/0.529, allocations: 25.05 kB / 385.3 MB, free: 17.72 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.168e-05/0.529, allocations: 14.83 kB / 385.3 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.244e-05/0.5291, allocations: 11.88 kB / 385.3 MB, free: 17.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.532, allocations: 1.029 MB / 386.4 MB, free: 16.99 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005251/0.5326, allocations: 197 kB / 386.6 MB, free: 16.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.5328, allocations: 20.09 kB / 386.6 MB, free: 16.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001075/0.5339, allocations: 47.22 kB / 386.6 MB, free: 16.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.5341, allocations: 64.14 kB / 386.7 MB, free: 16.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.028e-05/0.5342, allocations: 27.02 kB / 386.7 MB, free: 16.78 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.00152/0.5357, allocations: 0.6796 MB / 387.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5357, allocations: 0 / 387.4 MB, free: 16.5 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001759/0.5375, allocations: 208.4 kB / 387.6 MB, free: 16.48 MB / 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 (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.001397/0.5389, allocations: 397.8 kB / 388 MB, free: 16.31 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.003228/0.5421, allocations: 0.7606 MB / 388.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.5422, allocations: 1.156 kB / 388.8 MB, free: 16.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001465/0.5437, allocations: 373.4 kB / 389.1 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002308/0.546, allocations: 190 kB / 389.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005161/0.5512, allocations: 2.356 MB / 391.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/0.552, allocations: 1.022 MB / 392.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006589/0.5527, allocations: 81.28 kB / 392.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5527, allocations: 4 kB / 392.8 MB, free: 13.18 MB / 302.1 MB Notification: Performance of Templates: time 0.02908/0.5818, allocations: 12.9 MB / 405.7 MB, free: 2.062 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches