Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.00178/0.00178, allocations: 120.4 kB / 18.41 MB, free: 4.684 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.002208/0.002208, allocations: 190.7 kB / 21.35 MB, free: 1.75 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.443/1.443, allocations: 222.9 MB / 247 MB, free: 4.23 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.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") translateModel(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|feedX.flange.f|actuator.g_ma.G_m|actuator.g_mb.G_m|actuator.L",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 51.92 kB / 358.7 MB, free: 8.383 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09087/0.09238, allocations: 49.43 MB / 408.1 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007233/0.09963, allocations: 4.576 MB / 412.7 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.1029, allocations: 1.807 MB / 414.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004159/0.1034, allocations: 15.94 kB / 414.5 MB, free: 488 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007922/0.1042, allocations: 418.3 kB / 414.9 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000875/0.1051, allocations: 413.7 kB / 415.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006917/0.1058, allocations: 322.3 kB / 415.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001178/0.107, allocations: 1.028 MB / 416.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004473/0.1074, allocations: 302.5 kB / 416.9 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005085/0.1079, allocations: 402.8 kB / 417.3 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006155/0.1086, allocations: 0.5061 MB / 417.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001387/0.1087, allocations: 96 kB / 417.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.109, allocations: 124 kB / 418.1 MB, free: 12.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.1092, allocations: 239.2 kB / 418.3 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004347/0.1096, allocations: 453.6 kB / 418.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001411/0.1111, allocations: 1.276 MB / 420 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1111, allocations: 0 / 420 MB, free: 10.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1111, allocations: 4 kB / 420 MB, free: 10.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.1111, allocations: 0 / 420 MB, free: 10.93 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002325/0.1134, allocations: 1.226 MB / 421.2 MB, free: 9.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.1135, allocations: 8.031 kB / 421.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001666/0.1137, allocations: 108.3 kB / 421.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009404/0.1146, allocations: 0.5556 MB / 421.9 MB, free: 8.941 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.1147, allocations: 45.69 kB / 422 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.1148, allocations: 68.06 kB / 422 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001306/0.1161, allocations: 0.648 MB / 422.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.1161, allocations: 3.953 kB / 422.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.1162, allocations: 28 kB / 422.7 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.1162, allocations: 12 kB / 422.7 MB, free: 8.125 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001336/0.1176, allocations: 0.5555 MB / 423.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0038/0.1214, allocations: 2.533 MB / 425.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.1224, allocations: 474.5 kB / 426.3 MB, free: 4.422 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007581/0.1232, allocations: 306 kB / 426.6 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.1232, allocations: 8.438 kB / 426.6 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.209e-05/0.1233, allocations: 35 kB / 426.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.1233, allocations: 0 / 426.6 MB, free: 4.066 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004736/0.128, allocations: 1.509 MB / 428.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.1281, allocations: 63.91 kB / 428.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.1293, allocations: 0.9419 MB / 429.1 MB, free: 1.535 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.296e-05/0.1293, allocations: 41.58 kB / 429.2 MB, free: 1.488 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.1296, allocations: 408.7 kB / 429.6 MB, free: 1.086 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001691/0.1298, allocations: 210.2 kB / 429.8 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002062/0.13, allocations: 122.6 kB / 429.9 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.1302, allocations: 338 kB / 430.2 MB, free: 428 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006319/0.1308, allocations: 241.9 kB / 430.5 MB, free: 188 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1858/0.3167, allocations: 338.1 kB / 430.8 MB, free: 22.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.3179, allocations: 0.5689 MB / 431.4 MB, free: 21.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3179, allocations: 5.016 kB / 431.4 MB, free: 21.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001453/0.3194, allocations: 0.7274 MB / 432.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3194, allocations: 9.781 kB / 432.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.3194, allocations: 3.469 kB / 432.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.3194, allocations: 5.281 kB / 432.1 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.3202, allocations: 175 kB / 432.3 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.168e-05/0.3202, allocations: 6.562 kB / 432.3 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.3207, allocations: 42.78 kB / 432.3 MB, free: 21.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.643e-05/0.3208, allocations: 24.83 kB / 432.3 MB, free: 21.94 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMin.contact,actuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003125/0.3211, allocations: 265.1 kB / 432.6 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001139/0.3212, allocations: 86.94 kB / 432.7 MB, free: 21.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/0.3226, allocations: 0.6316 MB / 433.3 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/0.3226, allocations: 4.844 kB / 433.3 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3226, allocations: 4.156 kB / 433.3 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.3227, allocations: 2.906 kB / 433.3 MB, free: 21.77 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002679/0.3253, allocations: 1.805 MB / 435.1 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.3254, allocations: 1.906 kB / 435.1 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.326, allocations: 133 kB / 435.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/0.326, allocations: 5.312 kB / 435.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.326, allocations: 14.8 kB / 435.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.326, allocations: 5.828 kB / 435.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.326, allocations: 6.906 kB / 435.3 MB, free: 21.19 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.3275, allocations: 0.7536 MB / 436.1 MB, free: 20.95 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002206/0.3277, allocations: 206.1 kB / 436.3 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001026/0.3278, allocations: 14.73 kB / 436.3 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004376/0.3282, allocations: 37.14 kB / 436.3 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.602e-05/0.3284, allocations: 52.31 kB / 436.4 MB, free: 20.81 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.3284, allocations: 20.22 kB / 436.4 MB, free: 20.81 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007682/0.3292, allocations: 0.6842 MB / 437.1 MB, free: 20.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3292, allocations: 1.375 kB / 437.1 MB, free: 20.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005634/0.3297, allocations: 149 kB / 437.2 MB, free: 20.71 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 2 (actuator.armature.stopper_xMax.contact,actuator.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001252/0.331, allocations: 381.4 kB / 437.6 MB, free: 20.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001365/0.3324, allocations: 0.5857 MB / 438.2 MB, free: 20.58 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.3324, allocations: 4.969 kB / 438.2 MB, free: 20.58 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006085/0.333, allocations: 292.5 kB / 438.5 MB, free: 20.56 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000715/0.3337, allocations: 132.8 kB / 438.6 MB, free: 20.55 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/0.3361, allocations: 1.642 MB / 440.2 MB, free: 19.85 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003914/0.3365, allocations: 0.966 MB / 441.2 MB, free: 19.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002306/0.3367, allocations: 62.47 kB / 441.3 MB, free: 19.13 MB / 350.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3367, allocations: 0 / 441.3 MB, free: 19.13 MB / 350.1 MB Notification: Performance of Templates: time 0.01463/0.3514, allocations: 9.884 MB / 451.1 MB, free: 16.24 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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: 7.834402911947109]