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.001559/0.001559, allocations: 102.2 kB / 17.15 MB, free: 6.316 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.001857/0.001857, allocations: 190 kB / 18.07 MB, free: 5.414 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.457/1.457, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001957/0.001957, allocations: 51.92 kB / 280 MB, free: 3.578 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1074, allocations: 46.62 MB / 326.6 MB, free: 4.883 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.006987/0.1145, allocations: 6.217 MB / 332.8 MB, free: 14.63 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003392/0.1179, allocations: 1.847 MB / 334.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/0.1187, allocations: 19.94 kB / 334.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006396/0.1193, allocations: 162.8 kB / 334.9 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009615/0.1203, allocations: 353.5 kB / 335.2 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006916/0.121, allocations: 327.8 kB / 335.5 MB, free: 11.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.00125/0.1223, allocations: 1.386 MB / 336.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.1229, allocations: 447.2 kB / 337.3 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005235/0.1234, allocations: 462.1 kB / 337.8 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/0.1239, allocations: 0.5405 MB / 338.3 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001336/0.1241, allocations: 79.98 kB / 338.4 MB, free: 9 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001628/0.1243, allocations: 76 kB / 338.5 MB, free: 8.926 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002075/0.1245, allocations: 227 kB / 338.7 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004937/0.125, allocations: 0.5597 MB / 339.3 MB, free: 8.141 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001667/0.1266, allocations: 1.768 MB / 341 MB, free: 6.367 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.074e-05/0.1267, allocations: 0 / 341 MB, free: 6.367 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1267, allocations: 0 / 341 MB, free: 6.367 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.145e-05/0.1267, allocations: 0 / 341 MB, free: 6.367 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.002993/0.1297, allocations: 1.438 MB / 342.5 MB, free: 4.875 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.1298, allocations: 8.031 kB / 342.5 MB, free: 4.867 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001862/0.13, allocations: 123.5 kB / 342.6 MB, free: 4.746 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.131, allocations: 0.665 MB / 343.3 MB, free: 4.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.1312, allocations: 78.56 kB / 343.3 MB, free: 3.961 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001604/0.1313, allocations: 100.3 kB / 343.4 MB, free: 3.863 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.1332, allocations: 1.013 MB / 344.5 MB, free: 2.84 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.93e-05/0.1333, allocations: 7.891 kB / 344.5 MB, free: 2.832 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.123e-05/0.1334, allocations: 40 kB / 344.5 MB, free: 2.793 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.182e-05/0.1334, allocations: 24 kB / 344.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/0.1353, allocations: 0.864 MB / 345.4 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004954/0.1402, allocations: 3.34 MB / 348.7 MB, free: 14.44 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001383/0.1416, allocations: 0.823 MB / 349.5 MB, free: 13.6 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008535/0.1425, allocations: 483.1 kB / 350 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.869e-05/0.1426, allocations: 9.156 kB / 350 MB, free: 13.11 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.1426, allocations: 43.12 kB / 350.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of pre-optimization done (n=91): time 2.605e-06/0.1426, allocations: 0 / 350.1 MB, free: 13.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=115): time 0.009293/0.1519, allocations: 4.301 MB / 354.4 MB, free: 8.551 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.152, allocations: 89.77 kB / 354.5 MB, free: 8.445 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000793/0.1528, allocations: 0.6007 MB / 355.1 MB, free: 7.832 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.068e-05/0.1529, allocations: 49.7 kB / 355.1 MB, free: 7.777 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002987/0.1532, allocations: 428.1 kB / 355.5 MB, free: 7.352 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002858/0.1535, allocations: 394.2 kB / 355.9 MB, free: 6.961 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.1538, allocations: 186.9 kB / 356.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002643/0.1541, allocations: 394.7 kB / 356.5 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008397/0.1549, allocations: 382.4 kB / 356.9 MB, free: 6.004 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008956/0.1558, allocations: 0.512 MB / 357.4 MB, free: 5.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.1575, allocations: 0.8848 MB / 358.2 MB, free: 4.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1576, allocations: 0 / 358.2 MB, free: 4.539 MB / 302.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00242/0.16, allocations: 1.196 MB / 359.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.99e-05/0.16, allocations: 8 kB / 359.5 MB, free: 3.316 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.1601, allocations: 7.984 kB / 359.5 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004755/0.1605, allocations: 134.5 kB / 359.6 MB, free: 3.168 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.1616, allocations: 243.7 kB / 359.8 MB, free: 2.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00368/0.1653, allocations: 4.516 MB / 364.3 MB, free: 14.01 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008135/0.1661, allocations: 56.08 kB / 364.4 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.37e-05/0.1662, allocations: 36 kB / 364.4 MB, free: 13.92 MB / 318.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_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005205/0.1667, allocations: 277.6 kB / 364.7 MB, free: 13.64 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.1669, allocations: 86.97 kB / 364.8 MB, free: 13.55 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001588/0.1685, allocations: 0.7722 MB / 365.6 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.1685, allocations: 12.05 kB / 365.6 MB, free: 12.75 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.1685, allocations: 7.984 kB / 365.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.557e-06/0.1686, allocations: 3.984 kB / 365.6 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/0.1726, allocations: 2.671 MB / 368.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.1726, allocations: 0 / 368.3 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008936/0.1735, allocations: 211.7 kB / 368.5 MB, free: 9.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004338/0.1739, allocations: 155.3 kB / 368.6 MB, free: 9.602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/0.174, allocations: 27.94 kB / 368.6 MB, free: 9.574 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003783/0.1778, allocations: 5.56 MB / 374.2 MB, free: 3.48 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.1778, allocations: 7.969 kB / 374.2 MB, free: 3.473 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003085/0.1809, allocations: 1.736 MB / 375.9 MB, free: 1.699 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002003/0.1811, allocations: 168.1 kB / 376.1 MB, free: 1.516 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.1813, allocations: 24 kB / 376.1 MB, free: 1.492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006309/0.1819, allocations: 51.95 kB / 376.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001505/0.1821, allocations: 72.52 kB / 376.3 MB, free: 1.371 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.168e-05/0.1821, allocations: 39.98 kB / 376.3 MB, free: 1.332 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005809/0.1827, allocations: 443.1 kB / 376.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1827, allocations: 0 / 376.7 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009679/0.1837, allocations: 256 kB / 377 MB, free: 0.6523 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,3,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000183/0.1839, allocations: 134.3 kB / 377.1 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.1523/0.3362, allocations: 1.331 MB / 378.4 MB, free: 52.19 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/0.3363, allocations: 3.188 kB / 378.4 MB, free: 52.19 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001472/0.3378, allocations: 1.012 MB / 379.5 MB, free: 51.74 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001175/0.339, allocations: 162.6 kB / 379.6 MB, free: 51.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/0.3432, allocations: 2.589 MB / 382.2 MB, free: 50.5 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.3438, allocations: 1.026 MB / 383.2 MB, free: 49.78 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006182/0.3444, allocations: 115.7 kB / 383.3 MB, free: 49.76 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.3446, allocations: 73.58 kB / 383.4 MB, free: 49.75 MB / 318.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3447, allocations: 4 kB / 383.4 MB, free: 49.75 MB / 318.1 MB Notification: Performance of Templates: time 0.02113/0.3658, allocations: 11.28 MB / 394.7 MB, free: 46.32 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (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) 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