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.001299/0.001299, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.001409/0.001409, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.5/1.5, allocations: 230.6 MB / 257.5 MB, free: 8.02 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 47.92 kB / 377.8 MB, free: 3.168 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2606, allocations: 53.37 MB / 431.1 MB, free: 6.867 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006661/0.2673, allocations: 4.717 MB / 435.9 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.2709, allocations: 2.014 MB / 437.9 MB, free: 108 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004088/0.2713, allocations: 15.94 kB / 437.9 MB, free: 92 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008302/0.2721, allocations: 422.3 kB / 438.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001002/0.2731, allocations: 477.5 kB / 438.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007516/0.2739, allocations: 325.8 kB / 439.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001213/0.2751, allocations: 1.032 MB / 440.1 MB, free: 13.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000374/0.2755, allocations: 215 kB / 440.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.276, allocations: 446.5 kB / 440.8 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/0.2767, allocations: 0.5293 MB / 441.3 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001222/0.2768, allocations: 96 kB / 441.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.277, allocations: 132 kB / 441.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002221/0.2772, allocations: 243.2 kB / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000426/0.2777, allocations: 469.5 kB / 442.2 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.279, allocations: 1.296 MB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.279, allocations: 0 / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.279, allocations: 3.938 kB / 443.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.2791, allocations: 0 / 443.5 MB, free: 10.45 MB / 350.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.002179/0.2812, allocations: 1.174 MB / 444.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/0.2813, allocations: 8.031 kB / 444.7 MB, free: 9.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000128/0.2814, allocations: 106.7 kB / 444.8 MB, free: 9.117 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004628/0.2819, allocations: 128.2 kB / 444.9 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009352/0.2828, allocations: 0.5151 MB / 445.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.025e-05/0.2829, allocations: 49.31 kB / 445.5 MB, free: 8.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.984e-05/0.283, allocations: 60 kB / 445.5 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.2841, allocations: 0.6246 MB / 446.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.489e-05/0.2841, allocations: 4 kB / 446.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/0.2842, allocations: 27.98 kB / 446.2 MB, free: 7.676 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.94e-05/0.2842, allocations: 16 kB / 446.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2853, allocations: 0.5282 MB / 446.7 MB, free: 7.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003736/0.289, allocations: 2.464 MB / 449.2 MB, free: 4.535 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008754/0.2899, allocations: 448.3 kB / 449.6 MB, free: 4.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.2905, allocations: 262 kB / 449.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/0.2905, allocations: 12.44 kB / 449.9 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.2906, allocations: 31 kB / 449.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.793e-06/0.2906, allocations: 4 kB / 449.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004074/0.2947, allocations: 1.464 MB / 451.4 MB, free: 2.312 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.2947, allocations: 56.06 kB / 451.5 MB, free: 2.246 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/0.2959, allocations: 0.9693 MB / 452.4 MB, free: 1.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.296, allocations: 41.7 kB / 452.5 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00035/0.2963, allocations: 416.7 kB / 452.9 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.2965, allocations: 218.1 kB / 453.1 MB, free: 0.5898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.2967, allocations: 126.6 kB / 453.2 MB, free: 472 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2969, allocations: 330 kB / 453.5 MB, free: 136 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.2975, allocations: 222 kB / 453.8 MB, free: 15.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.2981, allocations: 327.1 kB / 454.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.2992, allocations: 0.5521 MB / 454.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.525e-06/0.2992, allocations: 7.938 kB / 454.6 MB, free: 14.97 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001408/0.3006, allocations: 0.7076 MB / 455.3 MB, free: 14.26 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.3006, allocations: 8 kB / 455.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.3006, allocations: 3.984 kB / 455.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3007, allocations: 4 kB / 455.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.3014, allocations: 163.8 kB / 455.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.463e-05/0.3014, allocations: 12.11 kB / 455.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004651/0.3019, allocations: 35.98 kB / 455.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.3019, allocations: 23.98 kB / 455.6 MB, free: 14.01 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.0003601/0.3023, allocations: 274.2 kB / 455.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001251/0.3024, allocations: 87.44 kB / 455.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.3037, allocations: 0.6072 MB / 456.5 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/0.3037, allocations: 15.97 kB / 456.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.3037, allocations: 0 / 456.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-06/0.3037, allocations: 0 / 456.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.3067, allocations: 1.764 MB / 458.3 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.3067, allocations: 7.938 kB / 458.3 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005209/0.3072, allocations: 119.9 kB / 458.5 MB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.163e-05/0.3072, allocations: 8 kB / 458.5 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.48e-05/0.3073, allocations: 15.98 kB / 458.5 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.107e-05/0.3073, allocations: 12.23 kB / 458.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.3073, allocations: 8 kB / 458.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001274/0.3086, allocations: 0.7299 MB / 459.2 MB, free: 10.19 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002629/0.3088, allocations: 131.4 kB / 459.4 MB, free: 10.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/0.3089, allocations: 16 kB / 459.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003887/0.3093, allocations: 31.97 kB / 459.4 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.492e-05/0.3094, allocations: 48.3 kB / 459.4 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.3094, allocations: 19.98 kB / 459.5 MB, free: 9.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008633/0.3103, allocations: 0.702 MB / 460.2 MB, free: 9.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3103, allocations: 4 kB / 460.2 MB, free: 9.246 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005341/0.3108, allocations: 152 kB / 460.3 MB, free: 9.098 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.002655/0.3135, allocations: 1.528 MB / 461.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.3147, allocations: 0.5229 MB / 462.4 MB, free: 7.121 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.3147, allocations: 4 kB / 462.4 MB, free: 7.117 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005388/0.3152, allocations: 267.4 kB / 462.6 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007832/0.316, allocations: 148.9 kB / 462.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01005/0.3261, allocations: 6.533 MB / 469.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.3267, allocations: 0.9709 MB / 470.3 MB, free: 14.94 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000418/0.3271, allocations: 101.2 kB / 470.4 MB, free: 14.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004413/0.3276, allocations: 311.3 kB / 470.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of SimCode: time 8.02e-07/0.3276, allocations: 0 / 470.7 MB, free: 14.54 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05403/0.3816, allocations: 16.65 MB / 487.3 MB, free: 14.03 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.74/13.12, allocations: 11.31 kB / 487.4 MB, free: 14.02 MB / 398.1 MB " [Timeout remaining time 647] (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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 19.174516448983923]