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.001296/0.001296, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001618/0.001618, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.392/1.392, allocations: 230.6 MB / 258.3 MB, free: 7.992 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.001419/0.001419, allocations: 43.94 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2469, allocations: 53.37 MB / 431.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006613/0.2535, allocations: 4.731 MB / 436.7 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003463/0.2569, allocations: 2.003 MB / 438.7 MB, free: 76 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003537/0.2573, allocations: 11.94 kB / 438.7 MB, free: 64 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007584/0.258, allocations: 430.3 kB / 439.1 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008656/0.2589, allocations: 473.5 kB / 439.6 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.2596, allocations: 330.8 kB / 439.9 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001076/0.2607, allocations: 1.043 MB / 440.9 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003416/0.261, allocations: 203.1 kB / 441.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005256/0.2615, allocations: 434.7 kB / 441.5 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006336/0.2622, allocations: 0.541 MB / 442.1 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.2623, allocations: 100 kB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002087/0.2625, allocations: 132 kB / 442.3 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.2627, allocations: 235.2 kB / 442.5 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.2631, allocations: 473.5 kB / 443 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.2645, allocations: 1.3 MB / 444.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.2645, allocations: 0 / 444.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2645, allocations: 3.938 kB / 444.3 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.2645, allocations: 0 / 444.3 MB, free: 10.41 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.00219/0.2667, allocations: 1.162 MB / 445.5 MB, free: 9.207 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.2667, allocations: 12.03 kB / 445.5 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.597e-05/0.2668, allocations: 13.5 kB / 445.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.2669, allocations: 106.7 kB / 445.6 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004714/0.2674, allocations: 136.2 kB / 445.7 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009277/0.2683, allocations: 0.511 MB / 446.2 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/0.2683, allocations: 45.31 kB / 446.3 MB, free: 8.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2684, allocations: 60 kB / 446.3 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.2696, allocations: 0.6323 MB / 447 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.318e-05/0.2696, allocations: 4 kB / 447 MB, free: 7.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.88e-05/0.2696, allocations: 24 kB / 447 MB, free: 7.621 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.487e-05/0.2697, allocations: 12 kB / 447 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.2708, allocations: 0.5243 MB / 447.5 MB, free: 7.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003792/0.2745, allocations: 2.476 MB / 450 MB, free: 4.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008839/0.2754, allocations: 448.3 kB / 450.5 MB, free: 4.035 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006208/0.276, allocations: 262 kB / 450.7 MB, free: 3.777 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.645e-05/0.2761, allocations: 12.42 kB / 450.7 MB, free: 3.766 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.2761, allocations: 35 kB / 450.8 MB, free: 3.719 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 1.794e-06/0.2761, allocations: 4 kB / 450.8 MB, free: 3.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.004068/0.2802, allocations: 1.46 MB / 452.2 MB, free: 2.258 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.2802, allocations: 60.06 kB / 452.3 MB, free: 2.188 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.2814, allocations: 0.9576 MB / 453.2 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.2814, allocations: 41.69 kB / 453.3 MB, free: 1.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003253/0.2818, allocations: 416.7 kB / 453.7 MB, free: 0.7578 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001771/0.2819, allocations: 226.1 kB / 453.9 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/0.2821, allocations: 118.6 kB / 454 MB, free: 424 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.2823, allocations: 330 kB / 454.3 MB, free: 88 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005383/0.2828, allocations: 229.9 kB / 454.6 MB, free: 15.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000617/0.2834, allocations: 335 kB / 454.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001094/0.2845, allocations: 0.5443 MB / 455.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.2845, allocations: 4 kB / 455.4 MB, free: 14.93 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001426/0.286, allocations: 0.7114 MB / 456.2 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.286, allocations: 8 kB / 456.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.373e-06/0.286, allocations: 0 / 456.2 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.286, allocations: 8 kB / 456.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007231/0.2867, allocations: 172 kB / 456.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.2867, allocations: 4 kB / 456.3 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004543/0.2872, allocations: 35.97 kB / 456.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.697e-05/0.2872, allocations: 20 kB / 456.4 MB, free: 13.96 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.0003469/0.2876, allocations: 281.5 kB / 456.7 MB, free: 13.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.2877, allocations: 83.44 kB / 456.8 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001287/0.289, allocations: 0.6188 MB / 457.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.289, allocations: 4 kB / 457.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.289, allocations: 0 / 457.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.775e-06/0.289, allocations: 3.984 kB / 457.4 MB, free: 12.96 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002774/0.2918, allocations: 1.752 MB / 459.1 MB, free: 11.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.2918, allocations: 4 kB / 459.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005318/0.2923, allocations: 132.1 kB / 459.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.2923, allocations: 8 kB / 459.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.2924, allocations: 12 kB / 459.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2924, allocations: 8 kB / 459.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2924, allocations: 0 / 459.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.2936, allocations: 0.7338 MB / 460 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002465/0.2938, allocations: 135.4 kB / 460.2 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.797e-05/0.2939, allocations: 12 kB / 460.2 MB, free: 10 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.2943, allocations: 31.97 kB / 460.2 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.2944, allocations: 52.23 kB / 460.2 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.592e-05/0.2944, allocations: 24 kB / 460.3 MB, free: 9.895 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008383/0.2953, allocations: 0.6982 MB / 461 MB, free: 9.203 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2953, allocations: 0 / 461 MB, free: 9.203 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005397/0.2958, allocations: 152 kB / 461.1 MB, free: 9.055 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.002685/0.2985, allocations: 1.552 MB / 462.7 MB, free: 7.578 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001162/0.2997, allocations: 0.519 MB / 463.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.2997, allocations: 0.5625 kB / 463.2 MB, free: 7.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005154/0.3002, allocations: 262.3 kB / 463.4 MB, free: 6.805 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000774/0.301, allocations: 137.3 kB / 463.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009349/0.3103, allocations: 6.541 MB / 470.1 MB, free: 15.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006619/0.311, allocations: 0.9748 MB / 471.1 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004103/0.3114, allocations: 97.17 kB / 471.2 MB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004432/0.3118, allocations: 303.3 kB / 471.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.3118, allocations: 0 / 471.5 MB, free: 14.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04365/0.3555, allocations: 16.69 MB / 488.2 MB, free: 13.96 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.03/12.39, allocations: 11.14 kB / 488.2 MB, free: 13.96 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.803528683958575]