Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.00209/0.00209, allocations: 96.3 kB / 21.73 MB, free: 2.699 MB / 18.57 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.00162/0.00162, allocations: 165.9 kB / 25.02 MB, free: 8.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 250.4 MB, free: 3.949 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.326e-05, allocations: 9.406 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.008823/0.008856, allocations: 5.533 MB / 255.9 MB, free: 14.38 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004574/0.01343, allocations: 1.804 MB / 257.7 MB, free: 12.56 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.01409, allocations: 23.88 kB / 257.7 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006856/0.01478, allocations: 210.1 kB / 257.9 MB, free: 12.33 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001216/0.01599, allocations: 428.6 kB / 258.3 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008357/0.01683, allocations: 375.5 kB / 258.7 MB, free: 11.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002111/0.01894, allocations: 1.529 MB / 260.2 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006296/0.01957, allocations: 325.8 kB / 260.6 MB, free: 9.672 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001215/0.02078, allocations: 0.8382 MB / 261.4 MB, free: 8.832 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007314/0.02151, allocations: 462.7 kB / 261.9 MB, free: 8.379 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002439/0.02176, allocations: 160 kB / 262 MB, free: 8.223 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002484/0.02201, allocations: 160 kB / 262.2 MB, free: 8.066 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003301/0.02234, allocations: 311 kB / 262.5 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006104/0.02295, allocations: 462.9 kB / 262.9 MB, free: 7.309 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.02532, allocations: 1.908 MB / 264.8 MB, free: 5.395 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.02532, allocations: 4 kB / 264.8 MB, free: 5.391 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02532, allocations: 0 / 264.8 MB, free: 5.391 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.02535, allocations: 0 / 264.8 MB, free: 5.391 MB / 250.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.003436/0.02878, allocations: 1.389 MB / 266.2 MB, free: 3.969 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.02883, allocations: 11.98 kB / 266.2 MB, free: 3.957 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.02924, allocations: 208.1 kB / 266.4 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/0.03086, allocations: 0.6421 MB / 267.1 MB, free: 3.082 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.614e-05/0.03094, allocations: 74.38 kB / 267.2 MB, free: 3.012 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001947/0.03114, allocations: 96.38 kB / 267.2 MB, free: 2.918 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00216/0.0333, allocations: 1.056 MB / 268.3 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.703e-05/0.03334, allocations: 8.141 kB / 268.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.03344, allocations: 36.38 kB / 268.3 MB, free: 1.789 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.621e-05/0.03346, allocations: 27.94 kB / 268.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.03553, allocations: 0.8601 MB / 269.2 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005534/0.04106, allocations: 2.736 MB / 272 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00164/0.0427, allocations: 0.7829 MB / 272.8 MB, free: 13.29 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009909/0.04369, allocations: 434.9 kB / 273.2 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.04375, allocations: 16.5 kB / 273.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.565e-05/0.04381, allocations: 43.06 kB / 273.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of pre-optimization done (n=91): time 3.276e-06/0.04381, allocations: 0 / 273.2 MB, free: 12.78 MB / 266.7 MB Notification: Performance of matching and sorting (n=115): time 0.01064/0.05445, allocations: 3.973 MB / 277.2 MB, free: 8.699 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.754e-05/0.05453, allocations: 89.77 kB / 277.3 MB, free: 8.594 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008351/0.05536, allocations: 0.5496 MB / 277.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.303e-05/0.05544, allocations: 45.7 kB / 277.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003959/0.05583, allocations: 449 kB / 278.3 MB, free: 7.539 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004124/0.05624, allocations: 404.5 kB / 278.7 MB, free: 7.141 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003292/0.05657, allocations: 182.9 kB / 278.9 MB, free: 6.957 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002651/0.05684, allocations: 398.7 kB / 279.3 MB, free: 6.559 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009354/0.05777, allocations: 378.4 kB / 279.7 MB, free: 6.188 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001073/0.05885, allocations: 0.5081 MB / 280.2 MB, free: 5.645 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002333/0.06118, allocations: 0.8858 MB / 281.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.06118, allocations: 0 / 281.1 MB, free: 4.727 MB / 266.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002782/0.06396, allocations: 1.229 MB / 282.3 MB, free: 3.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.583e-05/0.06399, allocations: 11.94 kB / 282.3 MB, free: 3.469 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.064, allocations: 4 kB / 282.3 MB, free: 3.465 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006362/0.06464, allocations: 150.5 kB / 282.4 MB, free: 3.309 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.06575, allocations: 247.7 kB / 282.7 MB, free: 3.066 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004883/0.07063, allocations: 4.583 MB / 287.3 MB, free: 14.18 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007077/0.07134, allocations: 52.16 kB / 287.3 MB, free: 14.13 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/0.07143, allocations: 39.98 kB / 287.4 MB, free: 14.09 MB / 282.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 (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.0005097/0.07194, allocations: 269.7 kB / 287.6 MB, free: 13.82 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.07219, allocations: 123.5 kB / 287.7 MB, free: 13.7 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.07427, allocations: 0.7679 MB / 288.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/0.07428, allocations: 8 kB / 288.5 MB, free: 12.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.646e-05/0.0743, allocations: 8 kB / 288.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.587e-05/0.07431, allocations: 7.969 kB / 288.5 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/0.07894, allocations: 2.222 MB / 290.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.07895, allocations: 0 / 290.8 MB, free: 10.61 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009852/0.07993, allocations: 203.7 kB / 291 MB, free: 10.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008377/0.08077, allocations: 187.3 kB / 291.1 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/0.08085, allocations: 31.92 kB / 291.2 MB, free: 10.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005822/0.08667, allocations: 5.473 MB / 296.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.08667, allocations: 0 / 296.6 MB, free: 4.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003759/0.09043, allocations: 1.786 MB / 298.4 MB, free: 2.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.09062, allocations: 83.48 kB / 298.5 MB, free: 2.391 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.09074, allocations: 23.94 kB / 298.5 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006247/0.09137, allocations: 51.95 kB / 298.6 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001924/0.09156, allocations: 84.5 kB / 298.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.066e-05/0.09163, allocations: 27.98 kB / 298.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006081/0.09224, allocations: 394.8 kB / 299.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.09224, allocations: 0 / 299.1 MB, free: 1.82 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009832/0.09322, allocations: 252 kB / 299.3 MB, free: 1.574 MB / 282.7 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.0002145/0.09344, allocations: 131 kB / 299.5 MB, free: 1.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002774/0.09621, allocations: 1.306 MB / 300.8 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.09622, allocations: 0 / 300.8 MB, free: 104 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1091/0.2053, allocations: 0.9549 MB / 301.7 MB, free: 56.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00123/0.2065, allocations: 196.9 kB / 301.9 MB, free: 56.56 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.2104, allocations: 2.023 MB / 303.9 MB, free: 55.8 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005913/0.211, allocations: 435.8 kB / 304.4 MB, free: 55.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0005423/0.2115, allocations: 117.4 kB / 304.5 MB, free: 55.65 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000256/0.2118, allocations: 75.19 kB / 304.5 MB, free: 55.65 MB / 282.7 MB Notification: Performance of SimCode: time 1.403e-06/0.2118, allocations: 0 / 304.5 MB, free: 55.65 MB / 282.7 MB Notification: Performance of Templates: time 0.01982/0.2316, allocations: 12.05 MB / 316.6 MB, free: 50.45 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.996932398993522]