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.001038/0.001038, allocations: 111.9 kB / 17.28 MB, free: 6.219 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.001144/0.001144, allocations: 193.3 kB / 18.2 MB, free: 5.301 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.349/1.349, allocations: 205.1 MB / 224 MB, free: 12.45 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.00123/0.00123, allocations: 47.92 kB / 280.2 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09238/0.09363, allocations: 46.62 MB / 326.8 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005741/0.0994, allocations: 4.54 MB / 331.3 MB, free: 236 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002693/0.1021, allocations: 1.723 MB / 333 MB, free: 14.5 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.1025, allocations: 8 kB / 333.1 MB, free: 14.49 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007162/0.1032, allocations: 386.7 kB / 333.4 MB, free: 14.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007293/0.1039, allocations: 390.2 kB / 333.8 MB, free: 13.73 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.1046, allocations: 271.6 kB / 334.1 MB, free: 13.46 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001054/0.1056, allocations: 1.02 MB / 335.1 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004346/0.1061, allocations: 302.8 kB / 335.4 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.1065, allocations: 402.8 kB / 335.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005109/0.107, allocations: 0.506 MB / 336.3 MB, free: 11.24 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001137/0.1071, allocations: 96 kB / 336.4 MB, free: 11.15 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.1073, allocations: 132 kB / 336.5 MB, free: 11.02 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001846/0.1075, allocations: 235.2 kB / 336.7 MB, free: 10.79 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.1079, allocations: 465.6 kB / 337.2 MB, free: 10.33 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00131/0.1092, allocations: 1.25 MB / 338.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.1092, allocations: 0 / 338.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1092, allocations: 0 / 338.4 MB, free: 9.078 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.767e-05/0.1093, allocations: 0 / 338.4 MB, free: 9.078 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.002592/0.1119, allocations: 1.207 MB / 339.7 MB, free: 7.82 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.498e-05/0.1119, allocations: 8.031 kB / 339.7 MB, free: 7.812 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001882/0.1121, allocations: 103.7 kB / 339.8 MB, free: 7.711 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009021/0.113, allocations: 0.5434 MB / 340.3 MB, free: 7.125 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001147/0.1132, allocations: 53.86 kB / 340.4 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000128/0.1133, allocations: 63.84 kB / 340.4 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.1146, allocations: 0.6519 MB / 341.1 MB, free: 6.34 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.399e-05/0.1146, allocations: 0 / 341.1 MB, free: 6.34 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.1147, allocations: 20 kB / 341.1 MB, free: 6.32 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.98e-05/0.1147, allocations: 16 kB / 341.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001211/0.116, allocations: 0.5633 MB / 341.7 MB, free: 5.742 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003952/0.1199, allocations: 2.556 MB / 344.2 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009658/0.1209, allocations: 477.8 kB / 344.7 MB, free: 2.566 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006629/0.1216, allocations: 294 kB / 345 MB, free: 2.277 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.943e-05/0.1216, allocations: 12.42 kB / 345 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.1217, allocations: 39 kB / 345 MB, free: 2.219 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.395e-06/0.1217, allocations: 0 / 345 MB, free: 2.219 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004408/0.1261, allocations: 1.485 MB / 346.5 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.1262, allocations: 55.97 kB / 346.6 MB, free: 0.6602 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.1273, allocations: 0.9535 MB / 347.5 MB, free: 15.7 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.981e-05/0.1273, allocations: 37.7 kB / 347.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/0.1276, allocations: 404 kB / 348 MB, free: 15.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001636/0.1278, allocations: 205 kB / 348.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000195/0.128, allocations: 118.6 kB / 348.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1282, allocations: 330 kB / 348.6 MB, free: 14.6 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006019/0.1288, allocations: 245.9 kB / 348.8 MB, free: 14.36 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006528/0.1294, allocations: 351 kB / 349.2 MB, free: 13.99 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001162/0.1306, allocations: 0.5596 MB / 349.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1306, allocations: 7.938 kB / 349.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001559/0.1322, allocations: 0.7346 MB / 350.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.1322, allocations: 4 kB / 350.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.1322, allocations: 4 kB / 350.5 MB, free: 12.64 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1323, allocations: 4 kB / 350.5 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007771/0.133, allocations: 171.8 kB / 350.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.319e-05/0.1331, allocations: 4 kB / 350.7 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.1336, allocations: 48.02 kB / 350.7 MB, free: 12.41 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.056e-05/0.1337, allocations: 23.98 kB / 350.7 MB, free: 12.39 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.0003164/0.134, allocations: 265.6 kB / 351 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.1341, allocations: 90.89 kB / 351.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00138/0.1355, allocations: 0.6281 MB / 351.7 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.1355, allocations: 8 kB / 351.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.1356, allocations: 0 / 351.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1356, allocations: 3.984 kB / 351.7 MB, free: 11.39 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002855/0.1384, allocations: 1.824 MB / 353.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.593e-06/0.1385, allocations: 4 kB / 353.6 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005744/0.139, allocations: 131.8 kB / 353.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.1391, allocations: 8 kB / 353.7 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.168e-05/0.1391, allocations: 15.98 kB / 353.7 MB, free: 9.277 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.723e-06/0.1391, allocations: 4 kB / 353.7 MB, free: 9.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1391, allocations: 12.16 kB / 353.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001287/0.1404, allocations: 0.7497 MB / 354.5 MB, free: 8.469 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002495/0.1407, allocations: 208 kB / 354.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.1408, allocations: 12 kB / 354.7 MB, free: 8.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004548/0.1412, allocations: 35.97 kB / 354.7 MB, free: 8.199 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.683e-05/0.1414, allocations: 48.31 kB / 354.8 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.1414, allocations: 16 kB / 354.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007478/0.1422, allocations: 0.6904 MB / 355.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1422, allocations: 0 / 355.5 MB, free: 7.449 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005443/0.1427, allocations: 152 kB / 355.6 MB, free: 7.301 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.0008383/0.1436, allocations: 362.7 kB / 356 MB, free: 6.949 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001584/0.1452, allocations: 0.6121 MB / 356.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1452, allocations: 0 / 356.6 MB, free: 6.34 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006149/0.1458, allocations: 295.3 kB / 356.9 MB, free: 6.051 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008745/0.1467, allocations: 134.8 kB / 357 MB, free: 5.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.1494, allocations: 1.89 MB / 358.9 MB, free: 3.965 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005176/0.1499, allocations: 0.9629 MB / 359.9 MB, free: 2.977 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.1503, allocations: 97.03 kB / 360 MB, free: 2.879 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.1505, allocations: 59.42 kB / 360 MB, free: 2.82 MB / 302.1 MB Notification: Performance of SimCode: time 6.91e-07/0.1505, allocations: 0 / 360 MB, free: 2.82 MB / 302.1 MB Notification: Performance of Templates: time 0.014/0.1645, allocations: 7.503 MB / 367.5 MB, free: 11.3 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 -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/jenkins/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_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches