Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.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.001529/0.001529, allocations: 121 kB / 18.5 MB, free: 4.562 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.001661/0.001661, allocations: 213.5 kB / 21.45 MB, free: 1.617 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.448/1.448, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001497/0.001497, allocations: 47.92 kB / 373.7 MB, free: 10.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1084, allocations: 53.34 MB / 427 MB, free: 4.805 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006714/0.1151, allocations: 4.685 MB / 431.7 MB, free: 92 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003484/0.1186, allocations: 1.987 MB / 433.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003536/0.1189, allocations: 15.94 kB / 433.7 MB, free: 14.08 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007481/0.1197, allocations: 430.2 kB / 434.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008733/0.1206, allocations: 473.5 kB / 434.6 MB, free: 13.2 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006721/0.1212, allocations: 326.9 kB / 434.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001142/0.1224, allocations: 1.032 MB / 435.9 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000375/0.1228, allocations: 218.6 kB / 436.2 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000606/0.1234, allocations: 430.7 kB / 436.6 MB, free: 11.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006428/0.124, allocations: 0.5333 MB / 437.1 MB, free: 10.66 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001316/0.1241, allocations: 100 kB / 437.2 MB, free: 10.57 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002289/0.1244, allocations: 128 kB / 437.3 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002289/0.1246, allocations: 239.2 kB / 437.6 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004238/0.125, allocations: 469.5 kB / 438 MB, free: 9.746 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.1264, allocations: 1.307 MB / 439.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1264, allocations: 0 / 439.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1264, allocations: 0 / 439.3 MB, free: 8.434 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.26e-05/0.1264, allocations: 0 / 439.3 MB, free: 8.434 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.002253/0.1287, allocations: 1.237 MB / 440.6 MB, free: 7.141 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1287, allocations: 8.031 kB / 440.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.26e-05/0.1288, allocations: 21.44 kB / 440.6 MB, free: 7.113 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001286/0.1289, allocations: 106.7 kB / 440.7 MB, free: 7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004704/0.1294, allocations: 136.2 kB / 440.8 MB, free: 6.867 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000949/0.1303, allocations: 0.5754 MB / 441.4 MB, free: 6.254 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.967e-05/0.1304, allocations: 53.25 kB / 441.5 MB, free: 6.199 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001022/0.1305, allocations: 56 kB / 441.5 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.1317, allocations: 0.6362 MB / 442.2 MB, free: 5.492 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.1317, allocations: 3.984 kB / 442.2 MB, free: 5.488 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.953e-05/0.1318, allocations: 24 kB / 442.2 MB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.1318, allocations: 16 kB / 442.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001143/0.1329, allocations: 0.5204 MB / 442.7 MB, free: 4.93 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003786/0.1367, allocations: 2.545 MB / 445.3 MB, free: 2.246 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009116/0.1376, allocations: 448.9 kB / 445.7 MB, free: 1.801 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000644/0.1383, allocations: 270 kB / 446 MB, free: 1.535 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.524e-05/0.1383, allocations: 8.422 kB / 446 MB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/0.1384, allocations: 43 kB / 446 MB, free: 1.473 MB / 366.1 MB Notification: Performance of pre-optimization done (n=50): time 2.365e-06/0.1384, allocations: 0 / 446 MB, free: 1.473 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.004313/0.1427, allocations: 1.451 MB / 447.5 MB, free: 24 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2135/0.3561, allocations: 57.34 kB / 447.5 MB, free: 24.37 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.3577, allocations: 0.9702 MB / 448.5 MB, free: 24.24 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.3578, allocations: 33.67 kB / 448.5 MB, free: 24.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002528/0.3581, allocations: 415.8 kB / 448.9 MB, free: 24.12 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.3582, allocations: 223.4 kB / 449.1 MB, free: 24.05 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001879/0.3584, allocations: 120.9 kB / 449.3 MB, free: 24.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.333e-05/0.3585, allocations: 335.7 kB / 449.6 MB, free: 23.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004863/0.359, allocations: 224.8 kB / 449.8 MB, free: 23.73 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005726/0.3596, allocations: 331.2 kB / 450.1 MB, free: 23.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001053/0.3606, allocations: 0.5526 MB / 450.7 MB, free: 23.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.3606, allocations: 1.594 kB / 450.7 MB, free: 23.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001502/0.3621, allocations: 0.7117 MB / 451.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3621, allocations: 6.438 kB / 451.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.3621, allocations: 1.406 kB / 451.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.3622, allocations: 5.531 kB / 451.4 MB, free: 23.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.3629, allocations: 171.4 kB / 451.6 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.3629, allocations: 5.469 kB / 451.6 MB, free: 23.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.3634, allocations: 34.83 kB / 451.6 MB, free: 23.09 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.752e-05/0.3635, allocations: 22.36 kB / 451.6 MB, free: 23.09 MB / 366.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 (85): * Single equations (assignments): 85 * 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.0003434/0.3638, allocations: 269.6 kB / 451.9 MB, free: 22.91 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001361/0.364, allocations: 90.09 kB / 452 MB, free: 22.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.3652, allocations: 0.613 MB / 452.6 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.3652, allocations: 6.531 kB / 452.6 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.3652, allocations: 1.906 kB / 452.6 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.845e-06/0.3652, allocations: 6.953 kB / 452.6 MB, free: 22.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/0.3677, allocations: 1.782 MB / 454.4 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.3677, allocations: 2.75 kB / 454.4 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005289/0.3683, allocations: 128.7 kB / 454.5 MB, free: 21.55 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.3683, allocations: 8.406 kB / 454.5 MB, free: 21.54 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.3683, allocations: 20.11 kB / 454.6 MB, free: 21.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.775e-06/0.3683, allocations: 10.12 kB / 454.6 MB, free: 21.54 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/0.3683, allocations: 3.875 kB / 454.6 MB, free: 21.54 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3694, allocations: 0.7244 MB / 455.3 MB, free: 21.1 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002083/0.3696, allocations: 212.9 kB / 455.5 MB, free: 20.92 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.049e-05/0.3697, allocations: 17.97 kB / 455.5 MB, free: 20.91 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.37, allocations: 32.8 kB / 455.6 MB, free: 20.9 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.3701, allocations: 45.11 kB / 455.6 MB, free: 20.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.516e-05/0.3702, allocations: 20.09 kB / 455.6 MB, free: 20.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008/0.371, allocations: 0.6991 MB / 456.3 MB, free: 20.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.371, allocations: 1.312 kB / 456.3 MB, free: 20.62 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006208/0.3716, allocations: 151.5 kB / 456.5 MB, free: 20.6 MB / 366.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 (63): * Single equations (assignments): 63 * 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.002445/0.374, allocations: 1.544 MB / 458 MB, free: 19.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001175/0.3752, allocations: 0.5217 MB / 458.5 MB, free: 19.41 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.3752, allocations: 0 / 458.5 MB, free: 19.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005215/0.3757, allocations: 265.2 kB / 458.8 MB, free: 19.32 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008176/0.3766, allocations: 137.3 kB / 458.9 MB, free: 19.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.3868, allocations: 6.55 MB / 465.5 MB, free: 15.81 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/0.3874, allocations: 0.966 MB / 466.4 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000465/0.3878, allocations: 101.8 kB / 466.5 MB, free: 15.07 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003882/0.3882, allocations: 304.1 kB / 466.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3882, allocations: 0 / 466.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03751/0.4257, allocations: 16.15 MB / 483 MB, free: 8.152 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.498/9.924, allocations: 12.55 kB / 483 MB, free: 8.141 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 657] Reference file matches [Calling sys.exit(0), Time elapsed: 18.508260956965387]