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.001327/0.001327, allocations: 73.72 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.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.001308/0.001308, allocations: 150.2 kB / 24.49 MB, free: 3.723 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.381/1.381, allocations: 173.4 MB / 201.1 MB, free: 12.7 MB / 190.1 MB " [Timeout remaining time 179] 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.001572/0.001572, allocations: 50.34 kB / 319.4 MB, free: 3.281 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08124/0.08281, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ArmatureStroke): time 0.007216/0.09003, allocations: 5.623 MB / 377.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002602/0.09263, allocations: 1.76 MB / 379 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003124/0.09294, allocations: 23.88 kB / 379 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004917/0.09343, allocations: 206.1 kB / 379.2 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007511/0.09418, allocations: 404.8 kB / 379.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000604/0.09479, allocations: 379.6 kB / 379.9 MB, free: 14.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001441/0.09623, allocations: 1.495 MB / 381.4 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004894/0.09672, allocations: 317.8 kB / 381.7 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005637/0.09728, allocations: 0.549 MB / 382.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006643/0.09795, allocations: 0.5287 MB / 382.8 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001875/0.09813, allocations: 160 kB / 383 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002226/0.09836, allocations: 160 kB / 383.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002592/0.09862, allocations: 307 kB / 383.4 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005235/0.09914, allocations: 0.5213 MB / 384 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.1009, allocations: 1.861 MB / 385.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.1009, allocations: 0 / 385.8 MB, free: 9.02 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1009, allocations: 4 kB / 385.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.178e-05/0.1009, allocations: 0 / 385.8 MB, free: 9.016 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.00287/0.1037, allocations: 1.404 MB / 387.2 MB, free: 7.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.1038, allocations: 12.92 kB / 387.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.104, allocations: 124.2 kB / 387.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.1051, allocations: 0.6115 MB / 388 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.321e-05/0.1052, allocations: 78.38 kB / 388 MB, free: 6.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.1053, allocations: 104.3 kB / 388.2 MB, free: 6.629 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001889/0.1072, allocations: 1.06 MB / 389.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.598e-05/0.1072, allocations: 7.984 kB / 389.2 MB, free: 5.535 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-05/0.1073, allocations: 36 kB / 389.3 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.064e-05/0.1073, allocations: 24 kB / 389.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00191/0.1093, allocations: 0.8601 MB / 390.1 MB, free: 4.613 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004528/0.1138, allocations: 2.713 MB / 392.8 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001436/0.1152, allocations: 0.7574 MB / 393.6 MB, free: 1.051 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000885/0.1161, allocations: 438.8 kB / 394 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.255e-05/0.1162, allocations: 20.34 kB / 394.1 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.1162, allocations: 43 kB / 394.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of pre-optimization done (n=91): time 2.284e-06/0.1162, allocations: 0 / 394.1 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of matching and sorting (n=115): time 0.009262/0.1255, allocations: 3.942 MB / 398 MB, free: 12.5 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.1255, allocations: 89.77 kB / 398.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006839/0.1262, allocations: 0.5535 MB / 398.7 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.235e-05/0.1263, allocations: 45.7 kB / 398.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003169/0.1266, allocations: 453 kB / 399.2 MB, free: 11.33 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003086/0.1269, allocations: 404.5 kB / 399.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000292/0.1272, allocations: 186.9 kB / 399.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1274, allocations: 386.7 kB / 400.1 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/0.1282, allocations: 378.4 kB / 400.5 MB, free: 9.984 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/0.1292, allocations: 0.5121 MB / 401 MB, free: 9.441 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001756/0.1309, allocations: 0.8819 MB / 401.9 MB, free: 8.523 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.1309, allocations: 4 kB / 401.9 MB, free: 8.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.002351/0.1333, allocations: 1.194 MB / 403.1 MB, free: 7.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1333, allocations: 4 kB / 403.1 MB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.1333, allocations: 4 kB / 403.1 MB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.1337, allocations: 138.7 kB / 403.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.1347, allocations: 247.7 kB / 403.5 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003816/0.1385, allocations: 4.567 MB / 408 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.1391, allocations: 64.08 kB / 408.1 MB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.578e-05/0.1392, allocations: 35.98 kB / 408.1 MB, free: 1.945 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 (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.0003708/0.1396, allocations: 277.8 kB / 408.4 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.1397, allocations: 87.42 kB / 408.5 MB, free: 1.578 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/0.1413, allocations: 0.7562 MB / 409.2 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.259e-05/0.1413, allocations: 16 kB / 409.3 MB, free: 0.7852 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.673e-06/0.1413, allocations: 4 kB / 409.3 MB, free: 0.7812 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.521e-05/0.1413, allocations: 11.91 kB / 409.3 MB, free: 0.7695 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003896/0.1452, allocations: 2.21 MB / 411.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1452, allocations: 0 / 411.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009072/0.1461, allocations: 207.7 kB / 411.7 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004011/0.1465, allocations: 155.3 kB / 411.8 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.009e-05/0.1466, allocations: 24 kB / 411.9 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004373/0.151, allocations: 5.477 MB / 417.3 MB, free: 8.223 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.151, allocations: 3.984 kB / 417.3 MB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.1541, allocations: 1.731 MB / 419.1 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1542, allocations: 79.53 kB / 419.2 MB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.789e-05/0.1543, allocations: 24.19 kB / 419.2 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005759/0.1549, allocations: 55.95 kB / 419.2 MB, free: 6.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.155, allocations: 88.42 kB / 419.3 MB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.812e-05/0.1551, allocations: 35.92 kB / 419.4 MB, free: 6.176 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000478/0.1556, allocations: 394.8 kB / 419.7 MB, free: 5.793 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1556, allocations: 3.938 kB / 419.7 MB, free: 5.789 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000768/0.1564, allocations: 256 kB / 420 MB, free: 5.539 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 (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.0001557/0.1565, allocations: 131.1 kB / 420.1 MB, free: 5.402 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002355/0.1589, allocations: 1.295 MB / 421.4 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1589, allocations: 0 / 421.4 MB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001475/0.1603, allocations: 0.9678 MB / 422.4 MB, free: 3.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/0.1612, allocations: 171.6 kB / 422.6 MB, free: 2.883 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003517/0.1647, allocations: 2.162 MB / 424.7 MB, free: 0.6875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004409/0.1652, allocations: 432.8 kB / 425.1 MB, free: 240 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004192/0.1656, allocations: 119.3 kB / 425.3 MB, free: 116 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002129/0.1658, allocations: 76.42 kB / 425.3 MB, free: 40 kB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1658, allocations: 0 / 425.3 MB, free: 40 kB / 382.1 MB Notification: Performance of Templates: time 0.02108/0.1869, allocations: 12.06 MB / 437.4 MB, free: 4.156 MB / 398.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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ArmatureStroke/ArmatureStroke.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 4.728429288952611]