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.001532/0.001532, allocations: 105.1 kB / 21.22 MB, free: 0.6523 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.001693/0.001693, allocations: 216.4 kB / 24.52 MB, free: 3.949 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.393/1.393, allocations: 230.6 MB / 258.3 MB, free: 7.793 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001522, allocations: 51.92 kB / 378.5 MB, free: 2.973 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2712, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006246/0.2774, allocations: 4.258 MB / 436.1 MB, free: 2.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004152/0.2816, allocations: 1.886 MB / 438 MB, free: 484 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008298/0.2824, allocations: 15.94 kB / 438 MB, free: 468 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001172/0.2836, allocations: 422.2 kB / 438.4 MB, free: 44 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001606/0.2852, allocations: 465.5 kB / 438.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001065/0.2862, allocations: 330.6 kB / 439.2 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.2883, allocations: 1.04 MB / 440.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004679/0.2888, allocations: 211 kB / 440.5 MB, free: 14.01 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007696/0.2896, allocations: 434.7 kB / 440.9 MB, free: 13.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007607/0.2903, allocations: 0.5371 MB / 441.4 MB, free: 13.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001385/0.2905, allocations: 100 kB / 441.5 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.2907, allocations: 128 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002569/0.291, allocations: 235.2 kB / 441.9 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004087/0.2914, allocations: 374.1 kB / 442.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001567/0.293, allocations: 1.315 MB / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.293, allocations: 0 / 443.5 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.293, allocations: 3.938 kB / 443.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.55e-05/0.293, allocations: 0 / 443.6 MB, free: 10.9 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.002358/0.2954, allocations: 1.166 MB / 444.7 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.2954, allocations: 8.031 kB / 444.7 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.017e-05/0.2954, allocations: 17.5 kB / 444.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.2956, allocations: 102.7 kB / 444.8 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005142/0.2961, allocations: 128.2 kB / 445 MB, free: 9.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009867/0.2971, allocations: 0.5189 MB / 445.5 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.469e-05/0.2971, allocations: 45.31 kB / 445.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/0.2972, allocations: 60 kB / 445.6 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001236/0.2985, allocations: 0.6574 MB / 446.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.199e-05/0.2985, allocations: 0 / 446.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.066e-05/0.2985, allocations: 28 kB / 446.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/0.2986, allocations: 16 kB / 446.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2996, allocations: 0.5204 MB / 446.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00364/0.3033, allocations: 2.109 MB / 448.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009266/0.3042, allocations: 440.9 kB / 449.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006262/0.3048, allocations: 262 kB / 449.6 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/0.3049, allocations: 16.38 kB / 449.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.3049, allocations: 31 kB / 449.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.384e-06/0.3049, allocations: 0 / 449.7 MB, free: 4.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00427/0.3092, allocations: 1.468 MB / 451.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.962e-05/0.3092, allocations: 60.06 kB / 451.2 MB, free: 3.066 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.3105, allocations: 0.9654 MB / 452.1 MB, free: 2.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.532e-05/0.3106, allocations: 33.7 kB / 452.2 MB, free: 2.051 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003681/0.311, allocations: 420.7 kB / 452.6 MB, free: 1.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.3112, allocations: 222.1 kB / 452.8 MB, free: 1.414 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.3114, allocations: 122.6 kB / 452.9 MB, free: 1.289 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.3116, allocations: 337.9 kB / 453.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/0.3121, allocations: 225.8 kB / 453.5 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005962/0.3127, allocations: 335 kB / 453.8 MB, free: 384 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.3139, allocations: 0.5483 MB / 454.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.3139, allocations: 4 kB / 454.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001479/0.3154, allocations: 0.7115 MB / 455.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.302e-05/0.3154, allocations: 8 kB / 455.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.3154, allocations: 0 / 455.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.348e-05/0.3154, allocations: 8 kB / 455.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007684/0.3162, allocations: 167.7 kB / 455.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3162, allocations: 8.219 kB / 455.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005075/0.3167, allocations: 35.97 kB / 455.3 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.204e-05/0.3168, allocations: 23.98 kB / 455.3 MB, free: 14.82 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.0004017/0.3172, allocations: 265.6 kB / 455.6 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.3173, allocations: 87.44 kB / 455.7 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3186, allocations: 0.6149 MB / 456.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3186, allocations: 8 kB / 456.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3186, allocations: 0 / 456.3 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.265e-06/0.3186, allocations: 3.984 kB / 456.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002742/0.3214, allocations: 1.539 MB / 457.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.3214, allocations: 4 kB / 457.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005322/0.3219, allocations: 132.1 kB / 458 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.3219, allocations: 4 kB / 458 MB, free: 12.06 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/0.322, allocations: 15.98 kB / 458 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.927e-06/0.322, allocations: 8 kB / 458 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.322, allocations: 3.984 kB / 458 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001194/0.3232, allocations: 0.7338 MB / 458.7 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.3234, allocations: 131.4 kB / 458.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001062/0.3235, allocations: 16 kB / 458.9 MB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000407/0.3239, allocations: 27.97 kB / 458.9 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3241, allocations: 56.23 kB / 458.9 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.3241, allocations: 20 kB / 459 MB, free: 11.01 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008687/0.325, allocations: 0.7021 MB / 459.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.325, allocations: 0 / 459.7 MB, free: 10.31 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00057/0.3255, allocations: 155.9 kB / 459.8 MB, free: 10.16 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.002997/0.3285, allocations: 1.568 MB / 461.4 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.3297, allocations: 0.5273 MB / 461.9 MB, free: 8.168 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.3298, allocations: 4.062 kB / 461.9 MB, free: 8.164 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005208/0.3303, allocations: 258.2 kB / 462.2 MB, free: 7.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008584/0.3311, allocations: 141.8 kB / 462.3 MB, free: 7.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009943/0.3411, allocations: 6.529 MB / 468.8 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004332/0.3415, allocations: 379.8 kB / 469.2 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004472/0.342, allocations: 93.19 kB / 469.3 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004778/0.3424, allocations: 299.3 kB / 469.6 MB, free: 216 kB / 366.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3424, allocations: 0 / 469.6 MB, free: 216 kB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04418/0.3866, allocations: 17.05 MB / 486.6 MB, free: 15.37 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.44, allocations: 6.859 kB / 486.7 MB, free: 15.36 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 657] Reference file matches [Calling sys.exit(0), Time elapsed: 20.78793014306575]