Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.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_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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001524, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001756/0.001756, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.307/1.307, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.001186/0.001187, allocations: 44.16 kB / 282.1 MB, free: 2.449 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0967/0.09789, allocations: 46.63 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.00594/0.1039, allocations: 4.513 MB / 333.2 MB, free: 15.2 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003008/0.1069, allocations: 1.75 MB / 335 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003279/0.1073, allocations: 11.94 kB / 335 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008301/0.1082, allocations: 418.2 kB / 335.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000745/0.1089, allocations: 421.7 kB / 335.8 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.1095, allocations: 299.5 kB / 336.1 MB, free: 12.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009147/0.1104, allocations: 1.028 MB / 337.1 MB, free: 11.28 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.1109, allocations: 302.5 kB / 337.4 MB, free: 10.99 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004001/0.1113, allocations: 398.8 kB / 337.8 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005486/0.1118, allocations: 0.506 MB / 338.3 MB, free: 10.09 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001177/0.1119, allocations: 99.94 kB / 338.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.1122, allocations: 132 kB / 338.6 MB, free: 9.863 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.1124, allocations: 235.2 kB / 338.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.1127, allocations: 461.6 kB / 339.2 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.1137, allocations: 1.269 MB / 340.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1137, allocations: 0 / 340.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1137, allocations: 0 / 340.5 MB, free: 7.906 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.012e-05/0.1138, allocations: 0 / 340.5 MB, free: 7.906 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002109/0.1159, allocations: 1.199 MB / 341.7 MB, free: 6.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.1159, allocations: 12.03 kB / 341.7 MB, free: 6.645 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001449/0.1161, allocations: 95.72 kB / 341.8 MB, free: 6.551 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008815/0.117, allocations: 0.5512 MB / 342.4 MB, free: 5.961 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.17e-05/0.117, allocations: 53.62 kB / 342.4 MB, free: 5.906 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-05/0.1171, allocations: 60.03 kB / 342.5 MB, free: 5.848 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001156/0.1183, allocations: 0.648 MB / 343.1 MB, free: 5.184 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.217e-05/0.1183, allocations: 4 kB / 343.1 MB, free: 5.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.261e-05/0.1184, allocations: 24 kB / 343.1 MB, free: 5.156 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.1184, allocations: 16 kB / 343.2 MB, free: 5.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.1196, allocations: 0.5633 MB / 343.7 MB, free: 4.578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003681/0.1233, allocations: 2.521 MB / 346.2 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009194/0.1242, allocations: 481.7 kB / 346.7 MB, free: 1.434 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/0.1249, allocations: 290 kB / 347 MB, free: 1.148 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.798e-05/0.1249, allocations: 12.41 kB / 347 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/0.125, allocations: 43 kB / 347.1 MB, free: 1.086 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 1.774e-06/0.125, allocations: 4 kB / 347.1 MB, free: 1.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.00445/0.1295, allocations: 1.477 MB / 348.5 MB, free: 15.6 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.1295, allocations: 63.91 kB / 348.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001023/0.1306, allocations: 0.9495 MB / 349.5 MB, free: 14.57 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.1306, allocations: 33.7 kB / 349.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.1309, allocations: 411.9 kB / 350 MB, free: 14.12 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001369/0.131, allocations: 205 kB / 350.2 MB, free: 13.92 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.1312, allocations: 114.6 kB / 350.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1313, allocations: 334 kB / 350.6 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005662/0.1319, allocations: 237.9 kB / 350.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006288/0.1326, allocations: 347.1 kB / 351.2 MB, free: 12.86 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001168/0.1337, allocations: 0.5635 MB / 351.8 MB, free: 12.27 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1337, allocations: 4 kB / 351.8 MB, free: 12.26 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001503/0.1353, allocations: 0.7307 MB / 352.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.1353, allocations: 11.97 kB / 352.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.1353, allocations: 4 kB / 352.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.1353, allocations: 4 kB / 352.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007883/0.1361, allocations: 171.8 kB / 352.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.1361, allocations: 7.938 kB / 352.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004899/0.1366, allocations: 39.97 kB / 352.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.659e-05/0.1367, allocations: 27.98 kB / 352.8 MB, free: 11.26 MB / 302.1 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_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0003337/0.137, allocations: 269.6 kB / 353 MB, free: 10.99 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.1372, allocations: 86.91 kB / 353.1 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.1386, allocations: 0.6281 MB / 353.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.395e-06/0.1386, allocations: 8 kB / 353.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1386, allocations: 0 / 353.7 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.266e-06/0.1386, allocations: 3.984 kB / 353.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002891/0.1415, allocations: 1.811 MB / 355.6 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.1416, allocations: 3.938 kB / 355.6 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/0.1422, allocations: 140.1 kB / 355.7 MB, free: 8.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.1422, allocations: 8 kB / 355.7 MB, free: 8.168 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.1422, allocations: 12 kB / 355.7 MB, free: 8.156 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/0.1422, allocations: 4 kB / 355.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.1422, allocations: 7.938 kB / 355.7 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001262/0.1435, allocations: 0.7431 MB / 356.5 MB, free: 7.363 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002685/0.1438, allocations: 208 kB / 356.7 MB, free: 7.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.616e-05/0.1439, allocations: 15.94 kB / 356.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.1443, allocations: 43.89 kB / 356.7 MB, free: 7.082 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.022e-05/0.1444, allocations: 44.39 kB / 356.8 MB, free: 7.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.665e-05/0.1445, allocations: 23.92 kB / 356.8 MB, free: 7.012 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007595/0.1452, allocations: 0.6865 MB / 357.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1452, allocations: 0 / 357.5 MB, free: 6.328 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005358/0.1458, allocations: 144 kB / 357.6 MB, free: 6.188 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (61): * Single equations (assignments): 61 * 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.0008168/0.1466, allocations: 370.5 kB / 358 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001281/0.1479, allocations: 0.577 MB / 358.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.1479, allocations: 0 / 358.6 MB, free: 5.258 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006042/0.1485, allocations: 299.4 kB / 358.9 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007136/0.1492, allocations: 138.7 kB / 359 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002324/0.1516, allocations: 1.554 MB / 360.5 MB, free: 3.211 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000494/0.1521, allocations: 0.9629 MB / 361.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.1524, allocations: 97.05 kB / 361.6 MB, free: 2.121 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000171/0.1526, allocations: 55.42 kB / 361.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1526, allocations: 0 / 361.7 MB, free: 2.066 MB / 302.1 MB Notification: Performance of Templates: time 0.0134/0.166, allocations: 7.64 MB / 369.3 MB, free: 10.41 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches