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.0007554/0.0007555, allocations: 96.62 kB / 17.3 MB, free: 6.391 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.0007812/0.0007812, allocations: 172.5 kB / 18.2 MB, free: 5.551 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.414/1.414, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0004687/0.0004687, allocations: 12 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09166/0.09214, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004884/0.09707, allocations: 4.123 MB / 333.1 MB, free: 15.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003018/0.1001, allocations: 1.708 MB / 334.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005721/0.1007, allocations: 12 kB / 334.8 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008712/0.1016, allocations: 390.7 kB / 335.2 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001094/0.1027, allocations: 386.2 kB / 335.6 MB, free: 13.12 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007411/0.1035, allocations: 275.7 kB / 335.8 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.1047, allocations: 0.954 MB / 336.8 MB, free: 11.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004613/0.1052, allocations: 259.6 kB / 337 MB, free: 11.65 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004534/0.1056, allocations: 326.8 kB / 337.4 MB, free: 11.33 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005648/0.1062, allocations: 458.1 kB / 337.8 MB, free: 10.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.208e-05/0.1063, allocations: 40 kB / 337.8 MB, free: 10.84 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.1065, allocations: 67.98 kB / 337.9 MB, free: 10.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002038/0.1067, allocations: 175.2 kB / 338.1 MB, free: 10.6 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004572/0.1072, allocations: 415.3 kB / 338.5 MB, free: 10.19 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001185/0.1084, allocations: 1.179 MB / 339.7 MB, free: 9.004 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.152e-05/0.1084, allocations: 4 kB / 339.7 MB, free: 9 MB / 286.1 MB Notification: Performance of FrontEnd: time 5.35e-06/0.1084, allocations: 0 / 339.7 MB, free: 9 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.1085, allocations: 3.938 kB / 339.7 MB, free: 8.996 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.002248/0.1107, allocations: 1.079 MB / 340.7 MB, free: 7.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.1108, allocations: 12.02 kB / 340.8 MB, free: 7.855 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001486/0.1109, allocations: 99.72 kB / 340.9 MB, free: 7.758 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000805/0.1117, allocations: 0.5434 MB / 341.4 MB, free: 7.168 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.1119, allocations: 49.88 kB / 341.5 MB, free: 7.121 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.112, allocations: 63.94 kB / 341.5 MB, free: 7.059 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001328/0.1133, allocations: 0.6636 MB / 342.2 MB, free: 6.379 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.1134, allocations: 4 kB / 342.2 MB, free: 6.375 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.444e-05/0.1134, allocations: 27.94 kB / 342.2 MB, free: 6.348 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.973e-05/0.1135, allocations: 12 kB / 342.2 MB, free: 6.336 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.1148, allocations: 0.5946 MB / 342.8 MB, free: 5.742 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003683/0.1185, allocations: 2.579 MB / 345.4 MB, free: 3.016 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/0.1195, allocations: 489.8 kB / 345.9 MB, free: 2.527 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006984/0.1202, allocations: 314 kB / 346.2 MB, free: 2.219 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.648e-05/0.1203, allocations: 8.422 kB / 346.2 MB, free: 2.211 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.1203, allocations: 39 kB / 346.2 MB, free: 2.164 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 4.117e-06/0.1204, allocations: 7.922 kB / 346.2 MB, free: 2.156 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.00463/0.125, allocations: 1.653 MB / 347.9 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.1251, allocations: 59.95 kB / 347.9 MB, free: 436 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001087/0.1261, allocations: 0.9419 MB / 348.9 MB, free: 15.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.279e-05/0.1262, allocations: 37.7 kB / 348.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002673/0.1265, allocations: 407.9 kB / 349.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.1266, allocations: 208.9 kB / 349.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.438e-05/0.1267, allocations: 61.69 kB / 349.6 MB, free: 14.75 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001101/0.1268, allocations: 330 kB / 349.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006263/0.1275, allocations: 265.9 kB / 350.2 MB, free: 14.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006809/0.1282, allocations: 359.1 kB / 350.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.1294, allocations: 0.6103 MB / 351.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.1294, allocations: 3.984 kB / 351.1 MB, free: 13.14 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001609/0.1311, allocations: 0.7736 MB / 351.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.1311, allocations: 8 kB / 351.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.1311, allocations: 0 / 351.9 MB, free: 12.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.1311, allocations: 8 kB / 351.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007867/0.1319, allocations: 183.8 kB / 352.1 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1319, allocations: 7.938 kB / 352.1 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005335/0.1325, allocations: 55.91 kB / 352.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.1325, allocations: 23.98 kB / 352.2 MB, free: 12.07 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.0003385/0.1329, allocations: 269.7 kB / 352.4 MB, free: 11.8 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.133, allocations: 82.91 kB / 352.5 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.1345, allocations: 0.6711 MB / 353.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.1345, allocations: 4 kB / 353.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1345, allocations: 0 / 353.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1345, allocations: 0 / 353.2 MB, free: 11.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002872/0.1374, allocations: 1.867 MB / 355.1 MB, free: 9.043 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.136e-05/0.1374, allocations: 3.984 kB / 355.1 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.138, allocations: 143.8 kB / 355.2 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/0.1381, allocations: 4 kB / 355.2 MB, free: 8.895 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.182e-05/0.1381, allocations: 20.22 kB / 355.2 MB, free: 8.875 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.1381, allocations: 7.938 kB / 355.2 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.1381, allocations: 4 kB / 355.3 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.1395, allocations: 0.7809 MB / 356 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002472/0.1397, allocations: 204.1 kB / 356.2 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.088e-05/0.1398, allocations: 15.94 kB / 356.2 MB, free: 7.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004498/0.1403, allocations: 55.95 kB / 356.3 MB, free: 7.75 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.448e-05/0.1404, allocations: 44.33 kB / 356.3 MB, free: 7.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.529e-05/0.1404, allocations: 19.98 kB / 356.4 MB, free: 7.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000762/0.1412, allocations: 0.6865 MB / 357.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1412, allocations: 0 / 357.1 MB, free: 7.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005496/0.1418, allocations: 155.9 kB / 357.2 MB, free: 6.852 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.0008337/0.1426, allocations: 372.9 kB / 357.6 MB, free: 6.496 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.144, allocations: 0.6165 MB / 358.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.144, allocations: 0 / 358.2 MB, free: 5.883 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006499/0.1447, allocations: 318.9 kB / 358.5 MB, free: 5.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001044/0.1457, allocations: 122.9 kB / 358.6 MB, free: 5.453 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002665/0.1484, allocations: 1.933 MB / 360.6 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005427/0.1489, allocations: 0.9633 MB / 361.5 MB, free: 2.457 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004314/0.1494, allocations: 93.05 kB / 361.6 MB, free: 2.363 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000164/0.1496, allocations: 55.36 kB / 361.7 MB, free: 2.309 MB / 302.1 MB Notification: Performance of SimCode: time 8.01e-07/0.1496, allocations: 0 / 361.7 MB, free: 2.309 MB / 302.1 MB Notification: Performance of Templates: time 0.01316/0.1627, allocations: 7.109 MB / 368.8 MB, free: 11.19 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