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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009802/0.0009803, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 240.3 MB, free: 11.9 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008166/0.0008166, allocations: 104.1 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003316/0.0003316, allocations: 4 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2368, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1028/0.3396, allocations: 89.2 MB / 490.7 MB, free: 7.285 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/0.3399, allocations: 87.95 kB / 490.8 MB, free: 7.199 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Magnetic/FluxTubes/Examples/MovingCoilActuator/Components/ConstantActuator.mo:67:3-67:83:writable] Warning: connect(p, p) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 0.2558/0.5957, allocations: 36.9 MB / 0.5153 GB, free: 93.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5957, allocations: 4 kB / 0.5153 GB, free: 93.78 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.978e-05/0.5958, allocations: 19.62 kB / 0.5153 GB, free: 93.78 MB / 378.7 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.002023/0.5978, allocations: 1.24 MB / 0.5166 GB, free: 93.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.5978, allocations: 9.469 kB / 0.5166 GB, free: 93.09 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/0.598, allocations: 121.3 kB / 0.5167 GB, free: 93.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007823/0.5988, allocations: 0.603 MB / 0.5173 GB, free: 92.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.5989, allocations: 89.38 kB / 0.5173 GB, free: 92.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001183/0.5991, allocations: 96.22 kB / 0.5174 GB, free: 92.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001652/0.6007, allocations: 1.024 MB / 0.5184 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/0.6008, allocations: 7.656 kB / 0.5184 GB, free: 92.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.6008, allocations: 47.25 kB / 0.5185 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/0.6009, allocations: 23.19 kB / 0.5185 GB, free: 92.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.6025, allocations: 0.9377 MB / 0.5194 GB, free: 91.73 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004084/0.6066, allocations: 3.578 MB / 0.5229 GB, free: 89.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.6078, allocations: 0.8693 MB / 0.5238 GB, free: 89.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.6079, allocations: 15.86 kB / 0.5238 GB, free: 89.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.6079, allocations: 46.78 kB / 0.5238 GB, free: 89.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=95): time 2.485e-06/0.6079, allocations: 3.719 kB / 0.5238 GB, free: 89.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=125): time 0.008285/0.6162, allocations: 4.751 MB / 0.5285 GB, free: 84.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/0.6163, allocations: 98.19 kB / 0.5286 GB, free: 84.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.6169, allocations: 0.5412 MB / 0.5291 GB, free: 83.56 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.606e-05/0.6169, allocations: 45.7 kB / 0.5291 GB, free: 83.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.6171, allocations: 424.2 kB / 0.5295 GB, free: 83.09 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001815/0.6173, allocations: 421.6 kB / 0.5299 GB, free: 82.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.038e-05/0.6173, allocations: 24 kB / 0.53 GB, free: 82.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.006e-05/0.6174, allocations: 398.7 kB / 0.5304 GB, free: 82.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007355/0.6182, allocations: 430.4 kB / 0.5308 GB, free: 81.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007889/0.619, allocations: 0.5591 MB / 0.5313 GB, free: 81.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007786/0.6198, allocations: 483.7 kB / 0.5318 GB, free: 80.77 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.6198, allocations: 0 / 0.5318 GB, free: 80.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002/0.6218, allocations: 1.302 MB / 0.533 GB, free: 79.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6218, allocations: 10.81 kB / 0.5331 GB, free: 79.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.6218, allocations: 7.953 kB / 0.5331 GB, free: 79.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003139/0.6221, allocations: 137.5 kB / 0.5332 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.6232, allocations: 275.6 kB / 0.5335 GB, free: 79.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/0.6255, allocations: 4.553 MB / 0.5379 GB, free: 74.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007621/0.6263, allocations: 80.05 kB / 0.538 GB, free: 74.01 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/0.6264, allocations: 47.98 kB / 0.538 GB, free: 73.96 MB / 378.7 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 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 135 * 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.0003897/0.6268, allocations: 273.6 kB / 0.5383 GB, free: 73.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000138/0.6269, allocations: 102.9 kB / 0.5384 GB, free: 73.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/0.6283, allocations: 0.8238 MB / 0.5392 GB, free: 72.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.6284, allocations: 12 kB / 0.5392 GB, free: 72.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.6284, allocations: 4 kB / 0.5392 GB, free: 72.72 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/0.6284, allocations: 3.984 kB / 0.5392 GB, free: 72.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003623/0.632, allocations: 3.015 MB / 0.5421 GB, free: 69.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.632, allocations: 4 kB / 0.5422 GB, free: 69.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008939/0.6329, allocations: 236 kB / 0.5424 GB, free: 69.38 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003662/0.6333, allocations: 155.2 kB / 0.5425 GB, free: 69.22 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.319e-05/0.6334, allocations: 35.98 kB / 0.5426 GB, free: 69.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002626/0.636, allocations: 5.606 MB / 0.548 GB, free: 63.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.636, allocations: 3.938 kB / 0.548 GB, free: 63.05 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/0.6389, allocations: 2.11 MB / 0.5501 GB, free: 60.82 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002066/0.6391, allocations: 168.1 kB / 0.5503 GB, free: 60.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.6392, allocations: 27.98 kB / 0.5503 GB, free: 60.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000649/0.6399, allocations: 79.95 kB / 0.5504 GB, free: 60.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.64, allocations: 92.38 kB / 0.5505 GB, free: 60.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.532e-05/0.6401, allocations: 36 kB / 0.5505 GB, free: 60.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005037/0.6406, allocations: 443.1 kB / 0.5509 GB, free: 59.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.6406, allocations: 7.938 kB / 0.5509 GB, free: 59.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008837/0.6415, allocations: 276 kB / 0.5512 GB, free: 59.7 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (pmActuator.x,pmActuator.armature.stopper_xMin.v_rel,pmActuator.coil.Phi,cActuator.x,cActuator.armature.stopper_xMin.v_rel,cActuator.l.i) * Number of discrete variables: 4 (pmActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,cActuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 110 * 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%) 3,(1,100.0%) 4,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002/0.6417, allocations: 154.8 kB / 0.5513 GB, free: 59.54 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.6438, allocations: 1.446 MB / 0.5527 GB, free: 58.06 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6438, allocations: 8.062 kB / 0.5527 GB, free: 58.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00124/0.645, allocations: 1.096 MB / 0.5538 GB, free: 56.9 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007634/0.6458, allocations: 153.5 kB / 0.554 GB, free: 56.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003431/0.6493, allocations: 2.759 MB / 0.5567 GB, free: 53.97 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.6497, allocations: 1.052 MB / 0.5577 GB, free: 52.89 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005313/0.6502, allocations: 119.8 kB / 0.5578 GB, free: 52.77 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002136/0.6505, allocations: 79.41 kB / 0.5579 GB, free: 52.69 MB / 378.7 MB Notification: Performance of SimCode: time 4.91e-07/0.6505, allocations: 0 / 0.5579 GB, free: 52.69 MB / 378.7 MB Notification: Performance of Templates: time 0.01673/0.6672, allocations: 11.61 MB / 0.5692 GB, free: 41.18 MB / 378.7 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","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches