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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 99.02 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.1 MB / 224.4 MB, free: 12.31 MB / 190.1 MB 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.001189/0.001189, allocations: 51.94 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07129/0.07249, allocations: 46.62 MB / 327.4 MB, free: 4.363 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005399/0.07792, allocations: 4.517 MB / 331.9 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.0804, allocations: 1.75 MB / 333.7 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.08074, allocations: 8 kB / 333.7 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006805/0.08143, allocations: 418.2 kB / 334.1 MB, free: 13.63 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007222/0.08216, allocations: 425.9 kB / 334.5 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005483/0.08272, allocations: 303.5 kB / 334.8 MB, free: 12.92 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008505/0.08359, allocations: 1.02 MB / 335.8 MB, free: 11.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.08397, allocations: 310.4 kB / 336.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.08433, allocations: 394.8 kB / 336.5 MB, free: 11.21 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000474/0.08481, allocations: 0.5061 MB / 337 MB, free: 10.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.08494, allocations: 96 kB / 337.1 MB, free: 10.61 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001893/0.08513, allocations: 124 kB / 337.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001769/0.08532, allocations: 243.2 kB / 337.4 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003375/0.08566, allocations: 449.6 kB / 337.9 MB, free: 9.805 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.08684, allocations: 1.258 MB / 339.1 MB, free: 8.543 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.08686, allocations: 3.984 kB / 339.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.278e-06/0.08687, allocations: 0 / 339.1 MB, free: 8.539 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.102e-05/0.08688, allocations: 3.938 kB / 339.2 MB, free: 8.535 MB / 286.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.002141/0.08903, allocations: 1.199 MB / 340.4 MB, free: 7.285 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.08909, allocations: 8.031 kB / 340.4 MB, free: 7.277 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.08926, allocations: 102.7 kB / 340.5 MB, free: 7.168 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.0895, allocations: 99.81 kB / 340.6 MB, free: 7.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008137/0.09033, allocations: 0.5473 MB / 341.1 MB, free: 6.484 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.09045, allocations: 49.62 kB / 341.2 MB, free: 6.434 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.09056, allocations: 67.84 kB / 341.2 MB, free: 6.367 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.09175, allocations: 0.648 MB / 341.9 MB, free: 5.703 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.09179, allocations: 3.938 kB / 341.9 MB, free: 5.699 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/0.09185, allocations: 27.98 kB / 341.9 MB, free: 5.672 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.09187, allocations: 15.98 kB / 341.9 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001396/0.09327, allocations: 0.5595 MB / 342.5 MB, free: 5.098 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003456/0.09674, allocations: 2.552 MB / 345 MB, free: 2.402 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009238/0.09768, allocations: 465.8 kB / 345.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006898/0.09838, allocations: 298 kB / 345.8 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.955e-05/0.09843, allocations: 12.44 kB / 345.8 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.09847, allocations: 38.94 kB / 345.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.09848, allocations: 0 / 345.8 MB, free: 1.586 MB / 286.1 MB Notification: Performance of matching and sorting (n=61): time 0.004515/0.103, allocations: 1.481 MB / 347.3 MB, free: 104 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.1031, allocations: 63.97 kB / 347.4 MB, free: 28 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.1042, allocations: 0.9458 MB / 348.3 MB, free: 15.07 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.064e-05/0.1042, allocations: 33.7 kB / 348.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.1045, allocations: 408 kB / 348.7 MB, free: 14.63 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.1047, allocations: 205 kB / 348.9 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001885/0.1049, allocations: 118.6 kB / 349.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001295/0.105, allocations: 334 kB / 349.4 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.1056, allocations: 241.9 kB / 349.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006726/0.1063, allocations: 355 kB / 350 MB, free: 13.36 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.1076, allocations: 0.5674 MB / 350.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1077, allocations: 0 / 350.5 MB, free: 12.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001635/0.1093, allocations: 0.7384 MB / 351.3 MB, free: 12.01 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.1093, allocations: 8 kB / 351.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1093, allocations: 0 / 351.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.1094, allocations: 8 kB / 351.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007845/0.1102, allocations: 167.8 kB / 351.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.1102, allocations: 12 kB / 351.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.1107, allocations: 47.95 kB / 351.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.452e-05/0.1108, allocations: 20 kB / 351.5 MB, free: 11.75 MB / 302.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.0003164/0.1111, allocations: 265.7 kB / 351.8 MB, free: 11.48 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.1112, allocations: 79 kB / 351.9 MB, free: 11.4 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/0.1128, allocations: 0.6358 MB / 352.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1128, allocations: 7.938 kB / 352.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.1128, allocations: 4 kB / 352.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1128, allocations: 3.984 kB / 352.5 MB, free: 10.74 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002828/0.1156, allocations: 1.82 MB / 354.3 MB, free: 8.793 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.1157, allocations: 7.938 kB / 354.3 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/0.1162, allocations: 127.8 kB / 354.5 MB, free: 8.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.853e-06/0.1163, allocations: 4 kB / 354.5 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.1163, allocations: 20 kB / 354.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.618e-06/0.1163, allocations: 12.23 kB / 354.5 MB, free: 8.625 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1163, allocations: 8 kB / 354.5 MB, free: 8.617 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001364/0.1177, allocations: 0.7381 MB / 355.3 MB, free: 7.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.1179, allocations: 204 kB / 355.5 MB, free: 7.621 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.568e-05/0.118, allocations: 19.98 kB / 355.5 MB, free: 7.602 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004453/0.1185, allocations: 31.97 kB / 355.5 MB, free: 7.57 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.561e-05/0.1186, allocations: 48.27 kB / 355.5 MB, free: 7.523 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.699e-05/0.1186, allocations: 27.98 kB / 355.6 MB, free: 7.496 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000796/0.1194, allocations: 0.6865 MB / 356.3 MB, free: 6.812 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.1195, allocations: 0 / 356.3 MB, free: 6.812 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005296/0.12, allocations: 148 kB / 356.4 MB, free: 6.668 MB / 302.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.002295/0.1223, allocations: 1.548 MB / 358 MB, free: 5.07 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001538/0.1238, allocations: 0.616 MB / 358.6 MB, free: 4.453 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.1239, allocations: 4 kB / 358.6 MB, free: 4.449 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006195/0.1245, allocations: 291.3 kB / 358.9 MB, free: 4.168 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000785/0.1253, allocations: 138.7 kB / 359 MB, free: 4.031 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00942/0.1347, allocations: 6.792 MB / 365.8 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005134/0.1353, allocations: 0.9631 MB / 366.7 MB, free: 11.99 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004219/0.1357, allocations: 101 kB / 366.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.1361, allocations: 291.3 kB / 367.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1361, allocations: 4 kB / 367.1 MB, free: 11.6 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1777/0.3138, allocations: 15.19 MB / 382.3 MB, free: 54.08 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.883/8.197, allocations: 1.594 kB / 382.3 MB, free: 54.08 MB / 318.1 MB (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.0032 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches