Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001481/0.00148, allocations: 186.2 kB / 16.4 MB, free: 5.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.869/1.869, allocations: 205.4 MB / 222.5 MB, free: 9.121 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001063/0.001062, allocations: 88.42 kB / 270.9 MB, free: 8.371 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003657, allocations: 8 kB / 327 MB, free: 200 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3296/0.33, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4722, allocations: 86.98 MB / 461.5 MB, free: 9.785 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.4726, allocations: 91.95 kB / 461.6 MB, free: 9.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07041/0.543, allocations: 15.86 MB / 477.5 MB, free: 9.777 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.5431, allocations: 0 / 477.5 MB, free: 9.777 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.637e-05/0.5432, allocations: 20 kB / 477.5 MB, free: 9.758 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.003415/0.5466, allocations: 1.082 MB / 478.6 MB, free: 8.625 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.5467, allocations: 8.031 kB / 478.6 MB, free: 8.617 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000375/0.5471, allocations: 94.88 kB / 478.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.5486, allocations: 0.5395 MB / 479.2 MB, free: 7.945 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.5488, allocations: 53.25 kB / 479.3 MB, free: 7.891 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001651/0.549, allocations: 63.91 kB / 479.3 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00221/0.5512, allocations: 0.6636 MB / 480 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.5513, allocations: 0 / 480 MB, free: 7.148 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.842e-05/0.5514, allocations: 24 kB / 480 MB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.5514, allocations: 16 kB / 480 MB, free: 7.109 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002483/0.5539, allocations: 0.6102 MB / 480.6 MB, free: 6.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007124/0.5611, allocations: 2.659 MB / 483.3 MB, free: 3.703 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001859/0.563, allocations: 0.5081 MB / 483.8 MB, free: 3.184 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.299e-05/0.5631, allocations: 12.44 kB / 483.8 MB, free: 3.172 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/0.5632, allocations: 35 kB / 483.9 MB, free: 3.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 3.166e-06/0.5632, allocations: 0 / 483.9 MB, free: 3.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.008976/0.5722, allocations: 1.745 MB / 485.6 MB, free: 1.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.5723, allocations: 59.97 kB / 485.7 MB, free: 1.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002128/0.5744, allocations: 0.8434 MB / 486.5 MB, free: 472 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.5746, allocations: 37.7 kB / 486.5 MB, free: 428 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003649/0.575, allocations: 414.5 kB / 486.9 MB, free: 12 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000284/0.5753, allocations: 216.9 kB / 487.2 MB, free: 15.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.659e-05/0.5754, allocations: 16 kB / 487.2 MB, free: 15.78 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.5755, allocations: 338.8 kB / 487.5 MB, free: 15.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.5768, allocations: 281.8 kB / 487.8 MB, free: 15.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00136/0.5782, allocations: 379 kB / 488.1 MB, free: 14.77 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001274/0.5795, allocations: 307.1 kB / 488.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.5795, allocations: 0 / 488.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002876/0.5824, allocations: 0.7547 MB / 489.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.5825, allocations: 4 kB / 489.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.5825, allocations: 4 kB / 489.2 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.5825, allocations: 4 kB / 489.2 MB, free: 13.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.5841, allocations: 195.8 kB / 489.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.5842, allocations: 7.781 kB / 489.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.5854, allocations: 67.94 kB / 489.5 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/0.5855, allocations: 28 kB / 489.5 MB, free: 13.4 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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.000656/0.5861, allocations: 265.6 kB / 489.8 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002502/0.5864, allocations: 82.97 kB / 489.8 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002669/0.5891, allocations: 0.6984 MB / 490.5 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.5891, allocations: 8 kB / 490.5 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.5892, allocations: 3.953 kB / 490.6 MB, free: 12.33 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.5892, allocations: 7.984 kB / 490.6 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005576/0.5948, allocations: 1.963 MB / 492.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.878e-06/0.5948, allocations: 0 / 492.5 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001205/0.596, allocations: 156 kB / 492.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.487e-05/0.5961, allocations: 4 kB / 492.7 MB, free: 10.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.967e-05/0.5962, allocations: 16 kB / 492.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/0.5962, allocations: 4 kB / 492.7 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.869e-06/0.5962, allocations: 7.953 kB / 492.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00266/0.5989, allocations: 0.9167 MB / 493.6 MB, free: 9.035 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006417/0.5996, allocations: 240 kB / 493.9 MB, free: 8.781 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.5997, allocations: 16 kB / 493.9 MB, free: 8.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008954/0.6007, allocations: 55.95 kB / 493.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.6008, allocations: 48.44 kB / 494 MB, free: 8.664 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.511e-05/0.6009, allocations: 27.95 kB / 494 MB, free: 8.637 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001549/0.6025, allocations: 0.6786 MB / 494.7 MB, free: 7.961 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.02e-07/0.6025, allocations: 4 kB / 494.7 MB, free: 7.957 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001077/0.6036, allocations: 180 kB / 494.9 MB, free: 7.781 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 65 * 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.001181/0.6048, allocations: 397.3 kB / 495.2 MB, free: 7.41 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002833/0.6077, allocations: 0.6445 MB / 495.9 MB, free: 6.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/0.6077, allocations: 4 kB / 495.9 MB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001272/0.609, allocations: 336 kB / 496.2 MB, free: 6.434 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001148/0.6102, allocations: 106.9 kB / 496.3 MB, free: 6.328 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/0.615, allocations: 1.979 MB / 498.3 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008627/0.6159, allocations: 0.9836 MB / 499.3 MB, free: 3.273 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000552/0.6165, allocations: 67.36 kB / 499.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of SimCode: time 1.452e-06/0.6165, allocations: 0 / 499.4 MB, free: 3.207 MB / 378.7 MB Notification: Performance of Templates: time 0.287/0.9035, allocations: 10.19 MB / 0.4976 GB, free: 103.5 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches