Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.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.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cActuator.armature.stopper_xMax.v_rel|cActuator.l.i|cActuator.x|pmActuator.armature.stopper_xMax.v_rel|pmActuator.coil.Phi|pmActuator.coil.i|pmActuator.g_mLeak2.port_p.Phi|pmActuator.g_ma.port_p.Phi|pmActuator.x",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") 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: 97.97 kB / 16.93 MB, free: 5.984 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.001126/0.001126, allocations: 179.1 kB / 17.82 MB, free: 5.652 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.496/1.496, allocations: 205.4 MB / 224 MB, free: 13.17 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.0004259/0.000426, allocations: 15.28 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08917/0.0896, allocations: 47.57 MB / 328.3 MB, free: 4.102 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.005204/0.09486, allocations: 5.024 MB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00231/0.09719, allocations: 1.841 MB / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.09749, allocations: 19.94 kB / 335.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.09783, allocations: 154.9 kB / 335.4 MB, free: 13.03 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006493/0.09849, allocations: 422.8 kB / 335.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.0989, allocations: 207.7 kB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000936/0.09985, allocations: 0.901 MB / 336.9 MB, free: 11.51 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004985/0.1004, allocations: 374.2 kB / 337.2 MB, free: 11.13 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004159/0.1008, allocations: 418.5 kB / 337.7 MB, free: 10.72 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005059/0.1013, allocations: 0.4939 MB / 338.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001061/0.1014, allocations: 63.98 kB / 338.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001354/0.1016, allocations: 64 kB / 338.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001475/0.1017, allocations: 191.2 kB / 338.5 MB, free: 9.914 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.1019, allocations: 241.1 kB / 338.7 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.1029, allocations: 1.453 MB / 340.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.365e-06/0.1029, allocations: 0 / 340.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1029, allocations: 0 / 340.1 MB, free: 8.215 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.103, allocations: 0 / 340.1 MB, free: 8.215 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002392/0.1054, allocations: 1.297 MB / 341.4 MB, free: 6.867 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1054, allocations: 12.03 kB / 341.5 MB, free: 6.855 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001754/0.1056, allocations: 122.6 kB / 341.6 MB, free: 6.734 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009626/0.1066, allocations: 0.6485 MB / 342.2 MB, free: 6.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.1067, allocations: 74 kB / 342.3 MB, free: 5.969 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001413/0.1068, allocations: 99.91 kB / 342.4 MB, free: 5.871 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001728/0.1086, allocations: 1.013 MB / 343.4 MB, free: 4.848 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.161e-05/0.1086, allocations: 7.984 kB / 343.4 MB, free: 4.84 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.935e-05/0.1087, allocations: 40 kB / 343.5 MB, free: 4.801 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.037e-05/0.1087, allocations: 24 kB / 343.5 MB, free: 4.777 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.1105, allocations: 0.907 MB / 344.4 MB, free: 3.871 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.1151, allocations: 3.36 MB / 347.7 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/0.1165, allocations: 0.839 MB / 348.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.174e-05/0.1165, allocations: 8.562 kB / 348.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.595e-05/0.1166, allocations: 47.11 kB / 348.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.755e-06/0.1166, allocations: 4 kB / 348.6 MB, free: 15.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.008816/0.1254, allocations: 4.436 MB / 353.1 MB, free: 10.82 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.277e-05/0.1255, allocations: 93.7 kB / 353.2 MB, free: 10.71 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007322/0.1262, allocations: 0.6007 MB / 353.8 MB, free: 10.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.809e-05/0.1263, allocations: 41.7 kB / 353.8 MB, free: 10.05 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.1266, allocations: 432 kB / 354.2 MB, free: 9.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002834/0.1269, allocations: 398.2 kB / 354.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.127, allocations: 24 kB / 354.6 MB, free: 9.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000186/0.1271, allocations: 390.7 kB / 355 MB, free: 8.812 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007928/0.1279, allocations: 398.4 kB / 355.4 MB, free: 8.426 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009078/0.1289, allocations: 0.5237 MB / 355.9 MB, free: 7.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008574/0.1297, allocations: 451.9 kB / 356.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.1297, allocations: 0 / 356.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002141/0.1319, allocations: 1.224 MB / 357.6 MB, free: 6.184 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.1319, allocations: 4 kB / 357.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/0.1319, allocations: 4 kB / 357.6 MB, free: 6.176 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003807/0.1323, allocations: 138.4 kB / 357.7 MB, free: 6.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/0.1333, allocations: 255.7 kB / 358 MB, free: 5.781 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.1367, allocations: 4.555 MB / 362.6 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006034/0.1373, allocations: 68.06 kB / 362.6 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.1374, allocations: 43.92 kB / 362.7 MB, free: 0.7148 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (128): * Single equations (assignments): 125 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004179/0.1378, allocations: 270.4 kB / 362.9 MB, free: 452 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.138, allocations: 90.92 kB / 363 MB, free: 360 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.1395, allocations: 0.788 MB / 363.8 MB, free: 15.54 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.1395, allocations: 12 kB / 363.8 MB, free: 15.53 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.1395, allocations: 8 kB / 363.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.193e-05/0.1395, allocations: 4.172 kB / 363.8 MB, free: 15.52 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003838/0.1434, allocations: 2.702 MB / 366.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1434, allocations: 0 / 366.5 MB, free: 12.72 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008681/0.1443, allocations: 219.8 kB / 366.7 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003702/0.1446, allocations: 155.3 kB / 366.9 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-05/0.1447, allocations: 27.98 kB / 366.9 MB, free: 12.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003645/0.1484, allocations: 5.604 MB / 372.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1484, allocations: 4.031 kB / 372.5 MB, free: 6.176 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.1513, allocations: 1.834 MB / 374.4 MB, free: 4.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.1515, allocations: 160.1 kB / 374.5 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.1516, allocations: 27.98 kB / 374.5 MB, free: 4.082 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005655/0.1522, allocations: 59.97 kB / 374.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.1523, allocations: 84.33 kB / 374.7 MB, free: 3.941 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.634e-05/0.1524, allocations: 27.98 kB / 374.7 MB, free: 3.914 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005073/0.1529, allocations: 443.1 kB / 375.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1529, allocations: 4 kB / 375.2 MB, free: 3.477 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008042/0.1537, allocations: 256 kB / 375.4 MB, free: 3.227 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i,pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi) * Number of discrete variables: 4 (cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 100 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001763/0.1539, allocations: 126.8 kB / 375.5 MB, free: 3.09 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00228/0.1562, allocations: 1.384 MB / 376.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1562, allocations: 0 / 376.9 MB, free: 1.664 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001352/0.1575, allocations: 1.025 MB / 377.9 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007298/0.1583, allocations: 157.5 kB / 378.1 MB, free: 452 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1682/0.3265, allocations: 2.633 MB / 380.7 MB, free: 50.61 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/0.3273, allocations: 1.043 MB / 381.8 MB, free: 49.89 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0007791/0.3281, allocations: 120.8 kB / 381.9 MB, free: 49.86 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002587/0.3283, allocations: 76.62 kB / 382 MB, free: 49.85 MB / 318.1 MB Notification: Performance of SimCode: time 2.414e-06/0.3283, allocations: 0 / 382 MB, free: 49.85 MB / 318.1 MB Notification: Performance of Templates: time 0.02002/0.3484, allocations: 10.77 MB / 392.7 MB, free: 46.7 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches