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.0007213/0.0007213, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007349/0.0007349, allocations: 149.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 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 0.901/0.901, allocations: 173.4 MB / 200.4 MB, free: 9.438 MB / 186.7 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 318.4 MB, free: 6.363 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.456e-05/2.65e-05, allocations: 6.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.004841/0.004868, allocations: 4.167 MB / 322.6 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.007029, allocations: 1.733 MB / 324.3 MB, free: 428 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002479/0.007277, allocations: 11.94 kB / 324.3 MB, free: 416 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006983/0.007976, allocations: 418.1 kB / 324.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006212/0.008597, allocations: 429.4 kB / 325.2 MB, free: 15.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004891/0.009086, allocations: 331.1 kB / 325.5 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009018/0.009988, allocations: 1.051 MB / 326.5 MB, free: 14.2 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003058/0.01029, allocations: 199 kB / 326.7 MB, free: 14 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004961/0.01079, allocations: 0.5887 MB / 327.3 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004009/0.01119, allocations: 431 kB / 327.7 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.173e-05/0.01127, allocations: 100 kB / 327.8 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.01141, allocations: 127.9 kB / 328 MB, free: 12.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001686/0.01158, allocations: 243.2 kB / 328.2 MB, free: 12.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001848/0.01177, allocations: 287.3 kB / 328.5 MB, free: 12.25 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000987/0.01275, allocations: 1.301 MB / 329.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.01276, allocations: 0 / 329.8 MB, free: 10.95 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.01276, allocations: 4 kB / 329.8 MB, free: 10.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.01277, allocations: 0 / 329.8 MB, free: 10.94 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001473/0.01424, allocations: 1.139 MB / 330.9 MB, free: 9.766 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.01428, allocations: 12.92 kB / 330.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.404e-05/0.01437, allocations: 102.7 kB / 331 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.01447, allocations: 108.3 kB / 331.2 MB, free: 9.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005752/0.01504, allocations: 0.4985 MB / 331.6 MB, free: 9.016 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.431e-05/0.01508, allocations: 45.62 kB / 331.7 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.01514, allocations: 60.33 kB / 331.8 MB, free: 8.914 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007682/0.01591, allocations: 0.6812 MB / 332.4 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.01593, allocations: 0 / 332.4 MB, free: 8.211 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.743e-05/0.01597, allocations: 24 kB / 332.5 MB, free: 8.188 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.01598, allocations: 16 kB / 332.5 MB, free: 8.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007351/0.01671, allocations: 0.5516 MB / 333 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002362/0.01908, allocations: 2.091 MB / 335.1 MB, free: 5.441 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006193/0.01969, allocations: 454.5 kB / 335.6 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004481/0.02014, allocations: 289.3 kB / 335.8 MB, free: 4.707 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.977e-05/0.02018, allocations: 4.5 kB / 335.8 MB, free: 4.699 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.503e-05/0.02021, allocations: 39.06 kB / 335.9 MB, free: 4.652 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.363e-06/0.02021, allocations: 0 / 335.9 MB, free: 4.652 MB / 298.7 MB Notification: Performance of matching and sorting (n=61): time 0.00247/0.02268, allocations: 1.508 MB / 337.4 MB, free: 3.148 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.02271, allocations: 63.84 kB / 337.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007219/0.02343, allocations: 0.9497 MB / 338.4 MB, free: 2.117 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/0.02347, allocations: 37.7 kB / 338.4 MB, free: 2.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002062/0.02367, allocations: 416.6 kB / 338.8 MB, free: 1.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.02378, allocations: 206.2 kB / 339 MB, free: 1.457 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.02391, allocations: 118.6 kB / 339.2 MB, free: 1.336 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.175e-05/0.024, allocations: 337.9 kB / 339.5 MB, free: 1 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003728/0.02437, allocations: 245.9 kB / 339.7 MB, free: 0.7539 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.02477, allocations: 339.1 kB / 340.1 MB, free: 400 kB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007314/0.0255, allocations: 0.5672 MB / 340.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.02551, allocations: 4 kB / 340.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.00112/0.02662, allocations: 0.7388 MB / 341.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.02664, allocations: 4 kB / 341.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.02665, allocations: 4 kB / 341.4 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.278e-05/0.02667, allocations: 11.92 kB / 341.4 MB, free: 15.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.02706, allocations: 171.8 kB / 341.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.02707, allocations: 8.062 kB / 341.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.02729, allocations: 43.95 kB / 341.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.02732, allocations: 20 kB / 341.6 MB, free: 14.79 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 (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.0002353/0.02756, allocations: 265.7 kB / 341.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.56e-05/0.02763, allocations: 83.48 kB / 342 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008447/0.02848, allocations: 0.6382 MB / 342.6 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.02848, allocations: 11.94 kB / 342.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.02849, allocations: 0 / 342.6 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.745e-06/0.0285, allocations: 3.984 kB / 342.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.03027, allocations: 1.563 MB / 344.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.03028, allocations: 0 / 344.2 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.03057, allocations: 135.8 kB / 344.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.03058, allocations: 4 kB / 344.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.03061, allocations: 19.92 kB / 344.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.03061, allocations: 4.312 kB / 344.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.03062, allocations: 8 kB / 344.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008147/0.03143, allocations: 0.7381 MB / 345.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.03159, allocations: 131.4 kB / 345.2 MB, free: 11.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.361e-05/0.03165, allocations: 31.86 kB / 345.3 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002072/0.03185, allocations: 31.97 kB / 345.3 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.03193, allocations: 48.36 kB / 345.3 MB, free: 10.93 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.03195, allocations: 16 kB / 345.4 MB, free: 10.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000538/0.03249, allocations: 0.6904 MB / 346 MB, free: 10.22 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03249, allocations: 0 / 346 MB, free: 10.22 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003532/0.03284, allocations: 151.9 kB / 346.2 MB, free: 10.07 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 (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.001772/0.03462, allocations: 1.577 MB / 347.8 MB, free: 8.594 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001369/0.03599, allocations: 0.5537 MB / 348.3 MB, free: 8.035 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.03599, allocations: 0 / 348.3 MB, free: 8.035 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003571/0.03634, allocations: 279.7 kB / 348.6 MB, free: 7.762 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.03684, allocations: 122.5 kB / 348.7 MB, free: 7.648 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006862/0.0437, allocations: 6.502 MB / 355.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.04424, allocations: 367.2 kB / 355.6 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002724/0.04451, allocations: 101 kB / 355.7 MB, free: 420 kB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.04483, allocations: 296.3 kB / 356 MB, free: 124 kB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.04483, allocations: 3.938 kB / 356 MB, free: 120 kB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03187/0.07669, allocations: 16.82 MB / 372.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.277, allocations: 0 / 372.8 MB, free: 15.48 MB / 346.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.00159936 --timeout=50 --tolerance=1e-07 Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.089870271272957]