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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 120.5 kB / 18.41 MB, free: 4.637 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 190.7 kB / 21.35 MB, free: 1.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.407/1.407, allocations: 222.9 MB / 247.1 MB, free: 4.211 MB / 190.1 MB " [Timeout remaining time 178] 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=5030,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=5030,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 52.06 kB / 358.7 MB, free: 8.363 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1021, allocations: 49.44 MB / 408.1 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007948/0.1101, allocations: 6.307 MB / 414.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003435/0.1135, allocations: 1.842 MB / 416.2 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005096/0.1141, allocations: 16 kB / 416.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005915/0.1147, allocations: 222 kB / 416.5 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000842/0.1155, allocations: 388.8 kB / 416.9 MB, free: 14.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006804/0.1162, allocations: 379.5 kB / 417.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1178, allocations: 1.487 MB / 418.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006925/0.1185, allocations: 0.5052 MB / 419.2 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006018/0.1191, allocations: 0.5334 MB / 419.8 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007006/0.1198, allocations: 0.599 MB / 420.3 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.12, allocations: 160 kB / 420.5 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.1203, allocations: 164 kB / 420.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.1205, allocations: 303 kB / 421 MB, free: 9.934 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006133/0.1212, allocations: 0.6495 MB / 421.6 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.123, allocations: 1.849 MB / 423.5 MB, free: 7.426 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.123, allocations: 4 kB / 423.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.123, allocations: 0 / 423.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.123, allocations: 0 / 423.5 MB, free: 7.422 MB / 350.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.003018/0.126, allocations: 1.476 MB / 424.9 MB, free: 5.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.1261, allocations: 8.031 kB / 424.9 MB, free: 5.887 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.1263, allocations: 124.2 kB / 425.1 MB, free: 5.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001226/0.1275, allocations: 0.6772 MB / 425.7 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.734e-05/0.1276, allocations: 74.38 kB / 425.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.1278, allocations: 104.3 kB / 425.9 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.1298, allocations: 1.006 MB / 426.9 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.621e-05/0.1299, allocations: 4 kB / 426.9 MB, free: 3.844 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.399e-05/0.13, allocations: 40 kB / 427 MB, free: 3.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.237e-05/0.13, allocations: 24 kB / 427 MB, free: 3.781 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00201/0.132, allocations: 0.8678 MB / 427.9 MB, free: 2.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1811/0.3131, allocations: 3.298 MB / 431.2 MB, free: 20.99 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001271/0.3144, allocations: 0.8142 MB / 432 MB, free: 20.93 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008029/0.3152, allocations: 478.6 kB / 432.4 MB, free: 20.92 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.314e-05/0.3153, allocations: 17.98 kB / 432.5 MB, free: 20.92 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/0.3153, allocations: 40.97 kB / 432.5 MB, free: 20.88 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.785e-06/0.3153, allocations: 0 / 432.5 MB, free: 20.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=115): time 0.008907/0.3242, allocations: 4.325 MB / 436.8 MB, free: 19.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/0.3243, allocations: 91.67 kB / 436.9 MB, free: 19.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007697/0.3251, allocations: 0.6022 MB / 437.5 MB, free: 19.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.115e-05/0.3251, allocations: 45.16 kB / 437.6 MB, free: 19.38 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.3254, allocations: 437.4 kB / 438 MB, free: 19.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002274/0.3256, allocations: 422.8 kB / 438.4 MB, free: 18.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002696/0.3259, allocations: 181.3 kB / 438.6 MB, free: 18.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001094/0.326, allocations: 392.6 kB / 439 MB, free: 18.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008041/0.3268, allocations: 380.2 kB / 439.3 MB, free: 18.62 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.3277, allocations: 0.5127 MB / 439.8 MB, free: 18.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.3293, allocations: 0.8839 MB / 440.7 MB, free: 18.41 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3293, allocations: 4.562 kB / 440.7 MB, free: 18.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002252/0.3316, allocations: 1.188 MB / 441.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3316, allocations: 9.531 kB / 441.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.3316, allocations: 2.438 kB / 441.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003827/0.332, allocations: 133.9 kB / 442.1 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/0.333, allocations: 248.3 kB / 442.3 MB, free: 18.24 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.3357, allocations: 4.979 MB / 447.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007078/0.3365, allocations: 51.02 kB / 447.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.799e-05/0.3365, allocations: 37.83 kB / 447.4 MB, free: 13.88 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.000421/0.337, allocations: 272.6 kB / 447.6 MB, free: 13.75 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.3371, allocations: 101.2 kB / 447.7 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001491/0.3386, allocations: 0.7714 MB / 448.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.168e-05/0.3387, allocations: 13.23 kB / 448.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/0.3387, allocations: 3.25 kB / 448.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.3387, allocations: 6.328 kB / 448.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003798/0.3425, allocations: 2.662 MB / 451.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.3425, allocations: 5.094 kB / 451.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008619/0.3434, allocations: 203 kB / 451.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004109/0.3438, allocations: 156.8 kB / 451.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.045e-05/0.3439, allocations: 28.05 kB / 451.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002936/0.3468, allocations: 5.99 MB / 457.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.3468, allocations: 5.156 kB / 457.6 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.3498, allocations: 1.747 MB / 459.3 MB, free: 5.156 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.35, allocations: 169.5 kB / 459.5 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.3501, allocations: 22.38 kB / 459.5 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005881/0.3507, allocations: 50.83 kB / 459.6 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.3509, allocations: 86.84 kB / 459.6 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.351, allocations: 28.11 kB / 459.7 MB, free: 4.945 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005207/0.3515, allocations: 443.5 kB / 460.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3515, allocations: 0 / 460.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009293/0.3525, allocations: 251.7 kB / 460.3 MB, free: 4.703 MB / 350.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.0001444/0.3526, allocations: 148.8 kB / 460.5 MB, free: 4.582 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002294/0.3549, allocations: 1.344 MB / 461.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.3549, allocations: 1.438 kB / 461.8 MB, free: 3.891 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001314/0.3562, allocations: 0.9971 MB / 462.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.3572, allocations: 185.8 kB / 463 MB, free: 3.172 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003273/0.3605, allocations: 2.206 MB / 465.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004235/0.361, allocations: 1.021 MB / 466.2 MB, free: 1.207 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.3613, allocations: 88.38 kB / 466.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3613, allocations: 3.391 kB / 466.3 MB, free: 1.195 MB / 350.1 MB Notification: Performance of Templates: time 0.03313/0.3944, allocations: 29.23 MB / 495.6 MB, free: 6.793 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.419471447938122]