Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001197/0.001197, allocations: 115.9 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 203.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 247.5 MB, free: 10.32 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 60.2 kB / 308.4 MB, free: 15.88 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1052, allocations: 50.53 MB / 358.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007317/0.1126, allocations: 6.433 MB / 365.3 MB, free: 6.863 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00351/0.1161, allocations: 1.909 MB / 367.2 MB, free: 4.949 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005675/0.1167, allocations: 19.94 kB / 367.3 MB, free: 4.93 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000605/0.1174, allocations: 218 kB / 367.5 MB, free: 4.715 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008731/0.1183, allocations: 412.7 kB / 367.9 MB, free: 4.309 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.119, allocations: 375.4 kB / 368.2 MB, free: 3.941 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00129/0.1203, allocations: 1.518 MB / 369.8 MB, free: 2.418 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006208/0.1209, allocations: 0.5092 MB / 370.3 MB, free: 1.887 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006319/0.1215, allocations: 0.5527 MB / 370.8 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006085/0.1222, allocations: 0.6107 MB / 371.4 MB, free: 0.7188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001677/0.1223, allocations: 160 kB / 371.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.1226, allocations: 160 kB / 371.8 MB, free: 416 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002061/0.1228, allocations: 315 kB / 372.1 MB, free: 100 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1788/0.3015, allocations: 0.6537 MB / 372.7 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00232/0.3039, allocations: 1.891 MB / 374.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3039, allocations: 0.6875 kB / 374.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3039, allocations: 3.938 kB / 374.6 MB, free: 11.82 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.682e-05/0.304, allocations: 1.188 kB / 374.6 MB, free: 11.82 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.003285/0.3073, allocations: 1.436 MB / 376 MB, free: 11.09 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.3073, allocations: 8.688 kB / 376.1 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000712/0.3081, allocations: 148.5 kB / 376.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.3096, allocations: 0.6913 MB / 376.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/0.3097, allocations: 76.06 kB / 377 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.3098, allocations: 99.73 kB / 377.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.3116, allocations: 0.9733 MB / 378 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.3116, allocations: 11.86 kB / 378 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.3117, allocations: 39.5 kB / 378.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.955e-05/0.3117, allocations: 23.38 kB / 378.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.3132, allocations: 0.7966 MB / 378.9 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005135/0.3184, allocations: 3.308 MB / 382.2 MB, free: 8.828 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/0.3196, allocations: 0.8032 MB / 383 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006662/0.3203, allocations: 440.2 kB / 383.4 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.184e-05/0.3204, allocations: 17.73 kB / 383.5 MB, free: 8.312 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.906e-05/0.3204, allocations: 46.03 kB / 383.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of pre-optimization done (n=95): time 2.515e-06/0.3204, allocations: 0 / 383.5 MB, free: 8.266 MB / 302.1 MB Notification: Performance of matching and sorting (n=119): time 0.008319/0.3287, allocations: 4.178 MB / 387.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.3288, allocations: 92.02 kB / 387.8 MB, free: 5.781 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000885/0.3297, allocations: 0.6434 MB / 388.4 MB, free: 5.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.845e-05/0.3298, allocations: 45.42 kB / 388.5 MB, free: 5.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.33, allocations: 430.6 kB / 388.9 MB, free: 5.094 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.3302, allocations: 409.6 kB / 389.3 MB, free: 4.777 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002706/0.3305, allocations: 188.2 kB / 389.5 MB, free: 4.68 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.3306, allocations: 398.2 kB / 389.9 MB, free: 4.332 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006276/0.3312, allocations: 351.6 kB / 390.2 MB, free: 4.191 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007166/0.332, allocations: 483.7 kB / 390.7 MB, free: 3.934 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.3333, allocations: 0.8525 MB / 391.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.3334, allocations: 1.406 kB / 391.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002082/0.3354, allocations: 1.145 MB / 392.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.3355, allocations: 9.312 kB / 392.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.16e-05/0.3355, allocations: 3.344 kB / 392.7 MB, free: 2.973 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003922/0.3359, allocations: 135 kB / 392.8 MB, free: 2.918 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009767/0.3369, allocations: 236.8 kB / 393 MB, free: 2.91 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003186/0.3401, allocations: 4.982 MB / 398 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009017/0.341, allocations: 40.58 kB / 398.1 MB, free: 14.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-05/0.3411, allocations: 39.8 kB / 398.1 MB, free: 14.08 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 (132): * Single equations (assignments): 129 * 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.0006872/0.3418, allocations: 282.1 kB / 398.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000207/0.342, allocations: 93.19 kB / 398.5 MB, free: 13.82 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001562/0.3436, allocations: 0.7541 MB / 399.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.355e-05/0.3436, allocations: 11.19 kB / 399.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.507e-05/0.3436, allocations: 3.031 kB / 399.2 MB, free: 13.36 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.3436, allocations: 9.406 kB / 399.3 MB, free: 13.35 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004182/0.3478, allocations: 2.608 MB / 401.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.209e-06/0.3479, allocations: 0 / 401.9 MB, free: 11.51 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/0.3487, allocations: 200.6 kB / 402.1 MB, free: 11.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004389/0.3492, allocations: 154.6 kB / 402.2 MB, free: 11.38 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-05/0.3492, allocations: 31.61 kB / 402.2 MB, free: 11.35 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.3534, allocations: 5.991 MB / 408.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.3534, allocations: 0 / 408.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002766/0.3562, allocations: 1.664 MB / 409.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005578/0.3568, allocations: 253.5 kB / 410.1 MB, free: 4.125 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000133/0.3569, allocations: 22.84 kB / 410.2 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005784/0.3575, allocations: 29.45 kB / 410.2 MB, free: 4.094 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/0.3577, allocations: 80.08 kB / 410.3 MB, free: 4.051 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.787e-05/0.3578, allocations: 38.7 kB / 410.3 MB, free: 4.035 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007092/0.3585, allocations: 459.1 kB / 410.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3585, allocations: 0 / 410.8 MB, free: 3.773 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001121/0.3596, allocations: 261.3 kB / 411 MB, free: 3.605 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 (108): * Single equations (assignments): 104 * 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.0002081/0.3599, allocations: 131.6 kB / 411.1 MB, free: 3.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002317/0.3622, allocations: 1.28 MB / 412.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3622, allocations: 4.625 kB / 412.4 MB, free: 2.176 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001345/0.3636, allocations: 0.9799 MB / 413.4 MB, free: 1.16 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001121/0.3647, allocations: 200.3 kB / 413.6 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.3685, allocations: 2.151 MB / 415.8 MB, free: 14.81 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006081/0.3691, allocations: 1.033 MB / 416.8 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005407/0.3697, allocations: 128 kB / 416.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002153/0.3699, allocations: 83.41 kB / 417 MB, free: 13.54 MB / 334.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3699, allocations: 0 / 417 MB, free: 13.54 MB / 334.1 MB Notification: Performance of Templates: time 0.02166/0.3916, allocations: 12.39 MB / 429.4 MB, free: 1.285 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches