Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009988/0.0009988, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001165/0.001165, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9272/0.9272, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 324.5 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.514e-05, allocations: 7.203 kB / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004891/0.004916, allocations: 4.255 MB / 328.8 MB, free: 11.61 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.007858, allocations: 1.912 MB / 330.7 MB, free: 9.691 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000561/0.008419, allocations: 11.94 kB / 330.7 MB, free: 9.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007551/0.009174, allocations: 418.2 kB / 331.1 MB, free: 9.27 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000924/0.0101, allocations: 489.1 kB / 331.6 MB, free: 8.789 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/0.01072, allocations: 323.2 kB / 331.9 MB, free: 8.473 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001131/0.01185, allocations: 1.071 MB / 333 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003472/0.0122, allocations: 191.1 kB / 333.2 MB, free: 7.211 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008549/0.01305, allocations: 0.612 MB / 333.8 MB, free: 6.598 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005476/0.0136, allocations: 442.9 kB / 334.2 MB, free: 6.164 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001095/0.01371, allocations: 96 kB / 334.3 MB, free: 6.07 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001984/0.01391, allocations: 127.9 kB / 334.4 MB, free: 5.945 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001949/0.01411, allocations: 243.2 kB / 334.7 MB, free: 5.707 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002622/0.01437, allocations: 307.2 kB / 335 MB, free: 5.406 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.01547, allocations: 1.324 MB / 336.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.01547, allocations: 4 kB / 336.3 MB, free: 4.074 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.01548, allocations: 0 / 336.3 MB, free: 4.074 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.92e-05/0.0155, allocations: 0 / 336.3 MB, free: 4.074 MB / 298.7 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.001663/0.01717, allocations: 1.146 MB / 337.4 MB, free: 2.895 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.01721, allocations: 11.98 kB / 337.4 MB, free: 2.883 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.002e-05/0.0173, allocations: 106.7 kB / 337.5 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.0176, allocations: 132.2 kB / 337.7 MB, free: 2.641 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009324/0.01853, allocations: 0.5148 MB / 338.2 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.775e-05/0.01857, allocations: 45.69 kB / 338.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.784e-05/0.01863, allocations: 60.38 kB / 338.3 MB, free: 1.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008121/0.01945, allocations: 0.6614 MB / 339 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.01946, allocations: 0 / 339 MB, free: 1.309 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.0195, allocations: 28 kB / 339 MB, free: 1.281 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.01951, allocations: 12 kB / 339 MB, free: 1.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006622/0.02018, allocations: 0.5243 MB / 339.5 MB, free: 0.7422 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002404/0.02258, allocations: 2.102 MB / 341.6 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005712/0.02315, allocations: 453 kB / 342.1 MB, free: 14.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003744/0.02353, allocations: 262.2 kB / 342.3 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.02356, allocations: 8.5 kB / 342.3 MB, free: 13.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.02358, allocations: 39.06 kB / 342.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 1.934e-06/0.02359, allocations: 0 / 342.4 MB, free: 13.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.002379/0.02596, allocations: 1.467 MB / 343.8 MB, free: 12.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.625e-05/0.026, allocations: 60.06 kB / 343.9 MB, free: 12.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007637/0.02676, allocations: 0.9731 MB / 344.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.02679, allocations: 33.7 kB / 344.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002021/0.02699, allocations: 412.8 kB / 345.3 MB, free: 10.82 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/0.0271, allocations: 222.1 kB / 345.5 MB, free: 10.61 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.02723, allocations: 122.6 kB / 345.6 MB, free: 10.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.606e-05/0.02732, allocations: 330 kB / 346 MB, free: 10.15 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003006/0.02762, allocations: 233.8 kB / 346.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.02796, allocations: 331 kB / 346.5 MB, free: 9.566 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006504/0.02861, allocations: 0.5405 MB / 347.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.02861, allocations: 0 / 347.1 MB, free: 8.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001293/0.0299, allocations: 0.7114 MB / 347.8 MB, free: 8.277 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.02993, allocations: 4 kB / 347.8 MB, free: 8.273 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.02994, allocations: 7.938 kB / 347.8 MB, free: 8.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.906e-05/0.02997, allocations: 4 kB / 347.8 MB, free: 8.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003976/0.03037, allocations: 180 kB / 348 MB, free: 8.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.03038, allocations: 4 kB / 348 MB, free: 8.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000256/0.03063, allocations: 31.97 kB / 348 MB, free: 8.051 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.988e-05/0.03066, allocations: 27.98 kB / 348 MB, free: 8.023 MB / 314.7 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.000292/0.03096, allocations: 269.6 kB / 348.3 MB, free: 7.75 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.141e-05/0.03104, allocations: 87.44 kB / 348.4 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007722/0.03181, allocations: 0.6188 MB / 349 MB, free: 7.035 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.03182, allocations: 8 kB / 349 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.03182, allocations: 0 / 349 MB, free: 7.027 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.03183, allocations: 3.984 kB / 349 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00171/0.03354, allocations: 1.541 MB / 350.5 MB, free: 5.387 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.03354, allocations: 8.031 kB / 350.5 MB, free: 5.379 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002693/0.03381, allocations: 123.8 kB / 350.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.655e-06/0.03382, allocations: 11.94 kB / 350.7 MB, free: 5.246 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.03384, allocations: 12 kB / 350.7 MB, free: 5.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.474e-06/0.03385, allocations: 11.98 kB / 350.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.03385, allocations: 7.938 kB / 350.7 MB, free: 5.215 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007129/0.03457, allocations: 0.7302 MB / 351.4 MB, free: 4.434 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.03474, allocations: 131.4 kB / 351.6 MB, free: 4.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.379e-05/0.0348, allocations: 15.94 kB / 351.6 MB, free: 4.289 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.03501, allocations: 31.97 kB / 351.6 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.03508, allocations: 44.36 kB / 351.7 MB, free: 4.215 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.03511, allocations: 23.98 kB / 351.7 MB, free: 4.191 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005528/0.03566, allocations: 0.706 MB / 352.4 MB, free: 3.488 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.03566, allocations: 0 / 352.4 MB, free: 3.488 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000408/0.03607, allocations: 152 kB / 352.5 MB, free: 3.34 MB / 314.7 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.001464/0.03753, allocations: 1.543 MB / 354.1 MB, free: 1.871 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007721/0.0383, allocations: 0.5235 MB / 354.6 MB, free: 1.344 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.03831, allocations: 4 kB / 354.6 MB, free: 1.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003055/0.03861, allocations: 259.7 kB / 354.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005467/0.03916, allocations: 142.5 kB / 355 MB, free: 0.9531 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006818/0.04598, allocations: 6.533 MB / 361.5 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.04623, allocations: 372 kB / 361.9 MB, free: 9.781 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003148/0.04655, allocations: 101.2 kB / 362 MB, free: 9.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005881/0.04713, allocations: 304.4 kB / 362.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of SimCode: time 1.743e-06/0.04714, allocations: 0 / 362.3 MB, free: 9.383 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03326/0.0804, allocations: 17.31 MB / 379.6 MB, free: 8.207 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.048/7.129, allocations: 0 / 379.6 MB, free: 8.207 MB / 346.7 MB " [Timeout remaining time 653] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv --start-time -4 --stop-time 4 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable feedX.flange.f in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.949716011993587]