Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001259/0.001259, allocations: 112.4 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 208 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.389/1.389, allocations: 227.7 MB / 247.9 MB, free: 10.18 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 59.91 kB / 359.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2383, allocations: 50.54 MB / 410.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007874/0.2462, allocations: 6.447 MB / 416.6 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.2499, allocations: 1.901 MB / 418.5 MB, free: 9.043 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007343/0.2506, allocations: 19.94 kB / 418.6 MB, free: 9.023 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006299/0.2513, allocations: 218 kB / 418.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.2524, allocations: 432.7 kB / 419.2 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008111/0.2532, allocations: 379.4 kB / 419.6 MB, free: 8.012 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001762/0.2549, allocations: 1.51 MB / 421.1 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005419/0.2555, allocations: 341.5 kB / 421.4 MB, free: 6.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007421/0.2562, allocations: 0.5645 MB / 422 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000675/0.2569, allocations: 0.6029 MB / 422.6 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001856/0.2571, allocations: 163.9 kB / 422.7 MB, free: 4.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002391/0.2573, allocations: 168 kB / 422.9 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00025/0.2576, allocations: 311.1 kB / 423.2 MB, free: 4.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.2582, allocations: 0.6572 MB / 423.9 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001881/0.2601, allocations: 1.891 MB / 425.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2601, allocations: 0 / 425.8 MB, free: 1.781 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2601, allocations: 4 kB / 425.8 MB, free: 1.777 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.339e-05/0.2601, allocations: 0 / 425.8 MB, free: 1.777 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002745/0.2628, allocations: 1.471 MB / 427.2 MB, free: 260 kB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.2629, allocations: 8.031 kB / 427.2 MB, free: 252 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005287/0.2634, allocations: 160.1 kB / 427.4 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/0.2646, allocations: 0.6962 MB / 428.1 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.334e-05/0.2646, allocations: 74 kB / 428.2 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.2648, allocations: 104 kB / 428.3 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001723/0.2665, allocations: 0.9701 MB / 429.2 MB, free: 14.19 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.649e-05/0.2666, allocations: 11.94 kB / 429.3 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.989e-05/0.2666, allocations: 40 kB / 429.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.103e-05/0.2667, allocations: 24 kB / 429.3 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.2682, allocations: 0.7938 MB / 430.1 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005265/0.2735, allocations: 3.318 MB / 433.4 MB, free: 9.879 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.2748, allocations: 0.763 MB / 434.2 MB, free: 9.102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007232/0.2755, allocations: 399.3 kB / 434.6 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.612e-05/0.2756, allocations: 20.48 kB / 434.6 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/0.2756, allocations: 47.75 kB / 434.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of pre-optimization done (n=95): time 2.745e-06/0.2756, allocations: 0 / 434.6 MB, free: 8.633 MB / 350.1 MB Notification: Performance of matching and sorting (n=119): time 0.008995/0.2846, allocations: 4.199 MB / 438.8 MB, free: 4.238 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.046e-05/0.2847, allocations: 89.77 kB / 438.9 MB, free: 4.129 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008907/0.2856, allocations: 0.6447 MB / 439.6 MB, free: 3.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.901e-05/0.2857, allocations: 45.7 kB / 439.6 MB, free: 3.422 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000344/0.286, allocations: 445.1 kB / 440.1 MB, free: 2.98 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003473/0.2864, allocations: 428.3 kB / 440.5 MB, free: 2.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002868/0.2866, allocations: 190.8 kB / 440.7 MB, free: 2.367 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.2868, allocations: 394.7 kB / 441 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006822/0.2875, allocations: 346.5 kB / 441.4 MB, free: 1.637 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008034/0.2883, allocations: 492.6 kB / 441.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001482/0.2898, allocations: 0.8588 MB / 442.7 MB, free: 232 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.2898, allocations: 7.938 kB / 442.7 MB, free: 224 kB / 350.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002139/0.292, allocations: 1.142 MB / 443.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.292, allocations: 4 kB / 443.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.292, allocations: 4 kB / 443.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004206/0.2924, allocations: 130.7 kB / 444 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.2934, allocations: 239.7 kB / 444.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/0.2977, allocations: 4.985 MB / 449.2 MB, free: 9.277 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007574/0.2985, allocations: 35.98 kB / 449.3 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/0.2985, allocations: 44.05 kB / 449.3 MB, free: 9.199 MB / 366.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.0004932/0.299, allocations: 277.6 kB / 449.6 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.2992, allocations: 103.3 kB / 449.7 MB, free: 8.816 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.3007, allocations: 0.7375 MB / 450.4 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.3007, allocations: 12 kB / 450.4 MB, free: 8.047 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.3007, allocations: 4 kB / 450.4 MB, free: 8.043 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/0.3007, allocations: 7.969 kB / 450.4 MB, free: 8.035 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004019/0.3047, allocations: 2.603 MB / 453 MB, free: 5.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.3047, allocations: 8 kB / 453.1 MB, free: 5.324 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008822/0.3056, allocations: 199.8 kB / 453.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004463/0.3061, allocations: 159.4 kB / 453.4 MB, free: 4.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.175e-05/0.3061, allocations: 27.98 kB / 453.4 MB, free: 4.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0048/0.3109, allocations: 5.981 MB / 459.4 MB, free: 14.39 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3109, allocations: 3.938 kB / 459.4 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002869/0.3138, allocations: 1.669 MB / 461.1 MB, free: 12.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000415/0.3142, allocations: 248.5 kB / 461.3 MB, free: 12.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.3143, allocations: 31.94 kB / 461.4 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.3149, allocations: 31.98 kB / 461.4 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001807/0.3151, allocations: 84.42 kB / 461.5 MB, free: 12.28 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.103e-05/0.3151, allocations: 35.98 kB / 461.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006186/0.3158, allocations: 463.1 kB / 462 MB, free: 11.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 5e-08/0.3158, allocations: 0 / 462 MB, free: 11.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009173/0.3167, allocations: 260 kB / 462.2 MB, free: 11.55 MB / 382.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.0001909/0.3169, allocations: 134.4 kB / 462.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002165/0.319, allocations: 1.227 MB / 463.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.319, allocations: 0 / 463.6 MB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/0.3204, allocations: 0.94 MB / 464.5 MB, free: 9.141 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.3215, allocations: 205 kB / 464.7 MB, free: 8.945 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00379/0.3253, allocations: 2.203 MB / 466.9 MB, free: 6.699 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006856/0.326, allocations: 1.037 MB / 468 MB, free: 5.637 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005096/0.3265, allocations: 124 kB / 468.1 MB, free: 5.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002264/0.3267, allocations: 83.41 kB / 468.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.3267, allocations: 0 / 468.2 MB, free: 5.43 MB / 382.1 MB Notification: Performance of Templates: time 0.0241/0.3508, allocations: 12.74 MB / 480.9 MB, free: 8.805 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches