Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001492/0.001492, allocations: 116.3 kB / 17.07 MB, free: 5.973 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.001723/0.001723, allocations: 198.8 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001016, allocations: 47.94 kB / 351.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2605, allocations: 49.43 MB / 400.7 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008876/0.2694, allocations: 6.308 MB / 407 MB, free: 2.539 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003689/0.2732, allocations: 1.842 MB / 408.9 MB, free: 0.6875 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000949/0.2741, allocations: 19.94 kB / 408.9 MB, free: 0.668 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008963/0.2751, allocations: 214 kB / 409.1 MB, free: 468 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001461/0.2766, allocations: 404.9 kB / 409.5 MB, free: 60 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009889/0.2776, allocations: 383.5 kB / 409.9 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.2795, allocations: 1.483 MB / 411.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007884/0.2803, allocations: 0.5052 MB / 411.9 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008168/0.2811, allocations: 0.549 MB / 412.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007602/0.2819, allocations: 0.5952 MB / 413 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001798/0.2821, allocations: 164 kB / 413.2 MB, free: 12.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.2823, allocations: 160 kB / 413.3 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.2825, allocations: 303 kB / 413.6 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005812/0.2831, allocations: 0.6379 MB / 414.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001556/0.2846, allocations: 1.855 MB / 416.1 MB, free: 9.41 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2847, allocations: 3.938 kB / 416.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.2847, allocations: 0 / 416.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.356e-05/0.2847, allocations: 0 / 416.1 MB, free: 9.406 MB / 334.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.00284/0.2875, allocations: 1.446 MB / 417.5 MB, free: 7.91 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.2876, allocations: 11.97 kB / 417.6 MB, free: 7.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001874/0.2878, allocations: 119.5 kB / 417.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001194/0.289, allocations: 0.6728 MB / 418.3 MB, free: 7.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.221e-05/0.2891, allocations: 78.38 kB / 418.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001419/0.2892, allocations: 100.3 kB / 418.5 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.2911, allocations: 1.002 MB / 419.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.777e-05/0.2911, allocations: 4 kB / 419.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.2912, allocations: 36 kB / 419.6 MB, free: 5.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.104e-05/0.2912, allocations: 28 kB / 419.6 MB, free: 5.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001911/0.2932, allocations: 0.8679 MB / 420.5 MB, free: 4.934 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0048/0.298, allocations: 3.297 MB / 423.8 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.2995, allocations: 0.8252 MB / 424.6 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009061/0.3004, allocations: 471.8 kB / 425 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.507e-05/0.3005, allocations: 20.41 kB / 425.1 MB, free: 200 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3006, allocations: 43.12 kB / 425.1 MB, free: 144 kB / 334.1 MB Notification: Performance of pre-optimization done (n=91): time 2.495e-06/0.3006, allocations: 0 / 425.1 MB, free: 144 kB / 334.1 MB Notification: Performance of matching and sorting (n=115): time 0.0097/0.3103, allocations: 4.296 MB / 429.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.3104, allocations: 93.7 kB / 429.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008325/0.3112, allocations: 0.6007 MB / 430.1 MB, free: 10.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.486e-05/0.3113, allocations: 45.7 kB / 430.1 MB, free: 10.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002884/0.3116, allocations: 428.2 kB / 430.6 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003052/0.3119, allocations: 394.2 kB / 430.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003212/0.3122, allocations: 178.9 kB / 431.1 MB, free: 9.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.3124, allocations: 398.7 kB / 431.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/0.3133, allocations: 374.4 kB / 431.9 MB, free: 9.109 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009378/0.3143, allocations: 0.5158 MB / 432.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.3163, allocations: 0.881 MB / 433.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.3164, allocations: 3.938 kB / 433.3 MB, free: 7.641 MB / 350.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002453/0.3188, allocations: 1.184 MB / 434.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.3188, allocations: 8 kB / 434.5 MB, free: 6.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.3189, allocations: 8.203 kB / 434.5 MB, free: 6.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004318/0.3193, allocations: 122.5 kB / 434.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.3204, allocations: 251.7 kB / 434.8 MB, free: 6.047 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004996/0.3254, allocations: 4.981 MB / 439.8 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.3264, allocations: 51.97 kB / 439.9 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.3266, allocations: 35.98 kB / 439.9 MB, free: 0.5625 MB / 350.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.0007389/0.3273, allocations: 289.6 kB / 440.2 MB, free: 276 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003244/0.3277, allocations: 86.97 kB / 440.3 MB, free: 188 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002277/0.3299, allocations: 0.7645 MB / 441 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.584e-05/0.33, allocations: 12 kB / 441 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.599e-05/0.33, allocations: 0 / 441 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.769e-05/0.33, allocations: 11.97 kB / 441.1 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006014/0.336, allocations: 2.652 MB / 443.7 MB, free: 12.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.3361, allocations: 4 kB / 443.7 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001269/0.3374, allocations: 203.7 kB / 443.9 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000589/0.338, allocations: 159.3 kB / 444.1 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.446e-05/0.3381, allocations: 27.98 kB / 444.1 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005709/0.3438, allocations: 5.99 MB / 450.1 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.3438, allocations: 7.969 kB / 450.1 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004437/0.3483, allocations: 1.738 MB / 451.8 MB, free: 3.902 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003307/0.3486, allocations: 164.1 kB / 452 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002194/0.3488, allocations: 27.94 kB / 452 MB, free: 3.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006873/0.3495, allocations: 43.97 kB / 452.1 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.3497, allocations: 80.39 kB / 452.1 MB, free: 3.574 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.973e-05/0.3498, allocations: 35.98 kB / 452.2 MB, free: 3.539 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006074/0.3504, allocations: 439.1 kB / 452.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3504, allocations: 0 / 452.6 MB, free: 3.109 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009578/0.3514, allocations: 256 kB / 452.9 MB, free: 2.859 MB / 366.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.0001994/0.3516, allocations: 153.5 kB / 453 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003465/0.3551, allocations: 1.337 MB / 454.3 MB, free: 1.32 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.3551, allocations: 3.938 kB / 454.3 MB, free: 1.316 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002103/0.3572, allocations: 0.9944 MB / 455.3 MB, free: 276 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/0.3587, allocations: 177.1 kB / 455.5 MB, free: 104 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005303/0.3641, allocations: 2.139 MB / 457.7 MB, free: 13.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008759/0.365, allocations: 1.02 MB / 458.7 MB, free: 12.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0008049/0.3658, allocations: 123.6 kB / 458.8 MB, free: 12.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003423/0.3661, allocations: 75.42 kB / 458.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3661, allocations: 0 / 458.9 MB, free: 12.68 MB / 382.1 MB Notification: Performance of Templates: time 0.02447/0.3906, allocations: 12.18 MB / 471 MB, free: 0.6016 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches