Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 73.56 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 157.8 kB / 24.5 MB, free: 3.719 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.409/1.409, allocations: 177.2 MB / 204.9 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001568/0.001568, allocations: 51.8 kB / 325.6 MB, free: 280 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08639/0.08796, allocations: 53.35 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007578/0.09553, allocations: 5.712 MB / 384.6 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.09848, allocations: 1.831 MB / 386.5 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003207/0.0988, allocations: 23.88 kB / 386.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005222/0.09932, allocations: 210.1 kB / 386.7 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007958/0.1001, allocations: 424.7 kB / 387.1 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006385/0.1008, allocations: 383.5 kB / 387.5 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001447/0.1022, allocations: 1.499 MB / 389 MB, free: 5.539 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004944/0.1027, allocations: 321.9 kB / 389.3 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006304/0.1033, allocations: 0.584 MB / 389.9 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007118/0.104, allocations: 0.5365 MB / 390.4 MB, free: 4.074 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001931/0.1042, allocations: 156 kB / 390.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000255/0.1045, allocations: 168 kB / 390.7 MB, free: 3.758 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002593/0.1047, allocations: 303.1 kB / 391 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005401/0.1053, allocations: 0.5407 MB / 391.6 MB, free: 2.918 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.1071, allocations: 1.899 MB / 393.5 MB, free: 1.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1071, allocations: 4 kB / 393.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1071, allocations: 0 / 393.5 MB, free: 1.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.1071, allocations: 0 / 393.5 MB, free: 1.008 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002712/0.1098, allocations: 1.4 MB / 394.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1099, allocations: 8.031 kB / 394.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005252/0.1104, allocations: 160.1 kB / 395 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.1115, allocations: 0.6345 MB / 395.7 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.346e-05/0.1116, allocations: 74 kB / 395.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.1118, allocations: 100 kB / 395.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001756/0.1135, allocations: 1.024 MB / 396.9 MB, free: 13.53 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.802e-05/0.1136, allocations: 7.953 kB / 396.9 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.617e-05/0.1137, allocations: 40 kB / 396.9 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.378e-05/0.1137, allocations: 24 kB / 396.9 MB, free: 13.46 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.1153, allocations: 0.7938 MB / 397.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004857/0.1201, allocations: 2.705 MB / 400.4 MB, free: 9.879 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/0.1215, allocations: 0.7603 MB / 401.2 MB, free: 9.105 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007504/0.1222, allocations: 407.4 kB / 401.6 MB, free: 8.699 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.1223, allocations: 12.5 kB / 401.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/0.1223, allocations: 47.62 kB / 401.6 MB, free: 8.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=95): time 2.785e-06/0.1223, allocations: 0 / 401.6 MB, free: 8.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=119): time 0.008868/0.1312, allocations: 3.821 MB / 405.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.1313, allocations: 89.77 kB / 405.6 MB, free: 4.598 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007859/0.1321, allocations: 0.581 MB / 406.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.438e-05/0.1321, allocations: 41.7 kB / 406.2 MB, free: 3.961 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003369/0.1325, allocations: 457.1 kB / 406.6 MB, free: 3.508 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.1328, allocations: 428.3 kB / 407 MB, free: 3.086 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.1331, allocations: 182.9 kB / 407.2 MB, free: 2.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1333, allocations: 394.7 kB / 407.6 MB, free: 2.508 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007239/0.134, allocations: 354.4 kB / 407.9 MB, free: 2.16 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/0.1349, allocations: 480.8 kB / 408.4 MB, free: 1.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00155/0.1364, allocations: 0.8598 MB / 409.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1364, allocations: 0 / 409.3 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002165/0.1386, allocations: 1.144 MB / 410.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1386, allocations: 7.938 kB / 410.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.1386, allocations: 4 kB / 410.4 MB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003991/0.139, allocations: 134.8 kB / 410.6 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.14, allocations: 235.7 kB / 410.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004215/0.1443, allocations: 4.574 MB / 415.4 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005857/0.1448, allocations: 39.92 kB / 415.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.677e-05/0.1449, allocations: 39.98 kB / 415.4 MB, free: 10.26 MB / 382.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.0004452/0.1454, allocations: 290 kB / 415.7 MB, free: 9.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.1455, allocations: 91.44 kB / 415.8 MB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001553/0.1471, allocations: 0.7409 MB / 416.6 MB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.317e-05/0.1471, allocations: 15.94 kB / 416.6 MB, free: 9.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1471, allocations: 4 kB / 416.6 MB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.624e-05/0.1471, allocations: 7.969 kB / 416.6 MB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003836/0.151, allocations: 2.172 MB / 418.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.151, allocations: 0 / 418.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008883/0.1519, allocations: 191.7 kB / 418.9 MB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004355/0.1523, allocations: 159.3 kB / 419.1 MB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-05/0.1524, allocations: 27.98 kB / 419.1 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004644/0.157, allocations: 5.466 MB / 424.6 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.157, allocations: 8.031 kB / 424.6 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002862/0.1599, allocations: 1.653 MB / 426.3 MB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.1602, allocations: 167.4 kB / 426.4 MB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.1603, allocations: 32 kB / 426.4 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.1609, allocations: 35.97 kB / 426.5 MB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.161, allocations: 84.44 kB / 426.6 MB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.578e-05/0.1611, allocations: 31.98 kB / 426.6 MB, free: 14.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005449/0.1616, allocations: 410.8 kB / 427 MB, free: 14.16 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1616, allocations: 0 / 427 MB, free: 14.16 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0009119/0.1626, allocations: 260 kB / 427.3 MB, free: 13.91 MB / 398.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.000174/0.1627, allocations: 143 kB / 427.4 MB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002135/0.1649, allocations: 1.223 MB / 428.6 MB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/0.1649, allocations: 4 kB / 428.6 MB, free: 12.49 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001377/0.1662, allocations: 0.9356 MB / 429.6 MB, free: 11.5 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.1673, allocations: 197.4 kB / 429.7 MB, free: 11.31 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/0.1709, allocations: 2.183 MB / 431.9 MB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004766/0.1714, allocations: 446.5 kB / 432.4 MB, free: 8.621 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004653/0.1719, allocations: 123.6 kB / 432.5 MB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002249/0.1721, allocations: 80.47 kB / 432.6 MB, free: 8.418 MB / 398.1 MB Notification: Performance of SimCode: time 5.31e-07/0.1721, allocations: 0 / 432.6 MB, free: 8.418 MB / 398.1 MB Notification: Performance of Templates: time 0.02385/0.1959, allocations: 12.61 MB / 445.2 MB, free: 11.99 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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: 4.750021407962777]