Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001337/0.001337, allocations: 115.9 kB / 18.4 MB, free: 4.652 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.00133/0.00133, allocations: 190.9 kB / 21.34 MB, free: 1.719 MB / 14.72 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.45/1.45, allocations: 205.1 MB / 229.2 MB, free: 4.402 MB / 174.1 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.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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 52.02 kB / 334.7 MB, free: 14.71 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.1002, allocations: 46.62 MB / 381.3 MB, free: 0.9688 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006379/0.1066, allocations: 4.512 MB / 385.8 MB, free: 12.43 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0037/0.1103, allocations: 1.746 MB / 387.6 MB, free: 10.68 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005903/0.111, allocations: 11.94 kB / 387.6 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000916/0.1119, allocations: 422.2 kB / 388 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00102/0.113, allocations: 421.7 kB / 388.4 MB, free: 9.836 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.1137, allocations: 303.5 kB / 388.7 MB, free: 9.539 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001246/0.115, allocations: 1.024 MB / 389.8 MB, free: 8.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.1154, allocations: 302.5 kB / 390 MB, free: 8.211 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004821/0.1159, allocations: 402.7 kB / 390.4 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006076/0.1165, allocations: 0.5061 MB / 390.9 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001301/0.1167, allocations: 96 kB / 391 MB, free: 7.215 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002368/0.1169, allocations: 124 kB / 391.2 MB, free: 7.094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002381/0.1172, allocations: 243.2 kB / 391.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004482/0.1176, allocations: 453.6 kB / 391.8 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001414/0.119, allocations: 1.284 MB / 393.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.1191, allocations: 0 / 393.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1191, allocations: 0 / 393.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.789e-05/0.1191, allocations: 0 / 393.1 MB, free: 5.121 MB / 318.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.002365/0.1215, allocations: 1.23 MB / 394.4 MB, free: 3.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.1215, allocations: 12.03 kB / 394.4 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.1217, allocations: 102.7 kB / 394.5 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.1218, allocations: 100.3 kB / 394.6 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.1229, allocations: 0.5556 MB / 395.1 MB, free: 3.023 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.1e-05/0.1229, allocations: 53.69 kB / 395.2 MB, free: 2.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.495e-05/0.123, allocations: 59.94 kB / 395.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.1243, allocations: 0.6479 MB / 395.9 MB, free: 2.25 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.1243, allocations: 7.953 kB / 395.9 MB, free: 2.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.1244, allocations: 24 kB / 395.9 MB, free: 2.219 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.1244, allocations: 16 kB / 395.9 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.1257, allocations: 0.5517 MB / 396.5 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/0.1297, allocations: 2.545 MB / 399 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009989/0.1307, allocations: 470.7 kB / 399.5 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007552/0.1315, allocations: 306 kB / 399.8 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.024e-05/0.1315, allocations: 12.38 kB / 399.8 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.1316, allocations: 42.98 kB / 399.8 MB, free: 14.13 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 3.246e-06/0.1316, allocations: 7.938 kB / 399.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004742/0.1363, allocations: 1.502 MB / 401.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.1364, allocations: 55.97 kB / 401.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.1376, allocations: 0.9419 MB / 402.3 MB, free: 11.6 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.087e-05/0.1377, allocations: 37.69 kB / 402.4 MB, free: 11.55 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.138, allocations: 404.7 kB / 402.8 MB, free: 11.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001888/0.1382, allocations: 222.1 kB / 403 MB, free: 10.94 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.1384, allocations: 118.6 kB / 403.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.1386, allocations: 330 kB / 403.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006325/0.1393, allocations: 241.9 kB / 403.7 MB, free: 10.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007/0.14, allocations: 351 kB / 404 MB, free: 9.875 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.1412, allocations: 0.5674 MB / 404.6 MB, free: 9.277 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1413, allocations: 4 kB / 404.6 MB, free: 9.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001655/0.1429, allocations: 0.727 MB / 405.3 MB, free: 8.539 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.143, allocations: 12.19 kB / 405.3 MB, free: 8.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.143, allocations: 8 kB / 405.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/0.143, allocations: 4 kB / 405.3 MB, free: 8.516 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.1438, allocations: 175.8 kB / 405.5 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.424e-05/0.1438, allocations: 7.938 kB / 405.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005114/0.1443, allocations: 35.97 kB / 405.5 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.205e-05/0.1444, allocations: 27.98 kB / 405.6 MB, free: 8.273 MB / 334.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.0003926/0.1448, allocations: 273.5 kB / 405.8 MB, free: 7.996 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001305/0.1449, allocations: 91.38 kB / 405.9 MB, free: 7.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001524/0.1464, allocations: 0.628 MB / 406.6 MB, free: 7.266 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.1465, allocations: 11.98 kB / 406.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1465, allocations: 0 / 406.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1465, allocations: 0 / 406.6 MB, free: 7.254 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003108/0.1496, allocations: 1.811 MB / 408.4 MB, free: 5.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.017e-06/0.1496, allocations: 3.984 kB / 408.4 MB, free: 5.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005776/0.1502, allocations: 128.2 kB / 408.5 MB, free: 5.191 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.1502, allocations: 12 kB / 408.5 MB, free: 5.18 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.1503, allocations: 12 kB / 408.5 MB, free: 5.168 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.034e-05/0.1503, allocations: 7.938 kB / 408.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.1503, allocations: 4 kB / 408.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.1518, allocations: 0.7513 MB / 409.3 MB, free: 4.359 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.1521, allocations: 212.5 kB / 409.5 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.935e-05/0.1522, allocations: 8 kB / 409.5 MB, free: 4.125 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.1526, allocations: 35.97 kB / 409.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001062/0.1527, allocations: 56.25 kB / 409.6 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.607e-05/0.1528, allocations: 19.94 kB / 409.6 MB, free: 4.016 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008781/0.1537, allocations: 0.6865 MB / 410.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1537, allocations: 0 / 410.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000596/0.1543, allocations: 152 kB / 410.5 MB, free: 3.188 MB / 334.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.00299/0.1573, allocations: 1.555 MB / 412 MB, free: 1.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.1588, allocations: 0.5847 MB / 412.6 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.1588, allocations: 4 kB / 412.6 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000658/0.1595, allocations: 299.4 kB / 412.9 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008622/0.1604, allocations: 122.8 kB / 413 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/0.1713, allocations: 6.504 MB / 419.5 MB, free: 9.812 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006704/0.1721, allocations: 0.9592 MB / 420.5 MB, free: 8.828 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004686/0.1725, allocations: 101 kB / 420.6 MB, free: 8.73 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.173, allocations: 291.3 kB / 420.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of SimCode: time 9.32e-07/0.173, allocations: 0 / 420.9 MB, free: 8.445 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04519/0.2182, allocations: 15.51 MB / 436.4 MB, free: 8.875 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.48/9.698, allocations: 11.7 kB / 436.4 MB, free: 8.863 MB / 366.1 MB " [Timeout remaining time 650] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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.00159936 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable feedX.flange.f from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_ma.G_m in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_ma.G_m from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.g_mb.G_m in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.g_mb.G_m from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! Error: Could not read variable actuator.L in file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv. Warning: Get data of variable actuator.L from file Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.322384433005936]