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.001569/0.001569, allocations: 108.6 kB / 21.22 MB, free: 0.7422 MB / 14.72 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.001468/0.001468, allocations: 187.7 kB / 24.5 MB, free: 4.152 MB / 14.72 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 1.371/1.371, allocations: 225.6 MB / 253.3 MB, free: 13.04 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_4_0_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 47.92 kB / 371.2 MB, free: 9.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2804, allocations: 52.19 MB / 423.4 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.007381/0.2878, allocations: 4.639 MB / 428.1 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003628/0.2914, allocations: 1.815 MB / 429.9 MB, free: 8.137 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006554/0.292, allocations: 11.94 kB / 429.9 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009375/0.293, allocations: 422.2 kB / 430.3 MB, free: 7.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001184/0.2942, allocations: 429.7 kB / 430.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008927/0.2951, allocations: 327.4 kB / 431 MB, free: 6.969 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001656/0.2967, allocations: 1.013 MB / 432.1 MB, free: 5.953 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004878/0.2972, allocations: 210.4 kB / 432.3 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000761/0.298, allocations: 418.7 kB / 432.7 MB, free: 5.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009475/0.2989, allocations: 0.5255 MB / 433.2 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.2991, allocations: 100 kB / 433.3 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003743/0.2995, allocations: 135.9 kB / 433.4 MB, free: 4.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003151/0.2998, allocations: 227.3 kB / 433.6 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006312/0.3005, allocations: 457.6 kB / 434.1 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001558/0.302, allocations: 1.281 MB / 435.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.405e-05/0.302, allocations: 7.984 kB / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.302, allocations: 0 / 435.4 MB, free: 2.613 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.656e-05/0.3021, allocations: 0 / 435.4 MB, free: 2.613 MB / 334.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.002729/0.3048, allocations: 1.143 MB / 436.5 MB, free: 1.434 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.3048, allocations: 12.03 kB / 436.5 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.328e-05/0.3049, allocations: 13.5 kB / 436.5 MB, free: 1.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.3051, allocations: 102.7 kB / 436.6 MB, free: 1.301 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002262/0.3053, allocations: 104.3 kB / 436.7 MB, free: 1.199 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001089/0.3064, allocations: 0.5031 MB / 437.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/0.3064, allocations: 49.44 kB / 437.3 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.3065, allocations: 60 kB / 437.4 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.3078, allocations: 0.644 MB / 438 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.3079, allocations: 15.88 kB / 438 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.3079, allocations: 20 kB / 438 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.574e-05/0.308, allocations: 16 kB / 438.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.3092, allocations: 0.5555 MB / 438.6 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003933/0.3132, allocations: 2.453 MB / 441.1 MB, free: 12.71 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.3142, allocations: 462.9 kB / 441.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007508/0.3149, allocations: 275.7 kB / 441.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.603e-05/0.315, allocations: 16.44 kB / 441.8 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.315, allocations: 35 kB / 441.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of pre-optimization done (n=48): time 2.164e-06/0.315, allocations: 3.938 kB / 441.8 MB, free: 11.92 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.004816/0.3198, allocations: 1.501 MB / 443.3 MB, free: 10.42 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.689e-05/0.3199, allocations: 63.91 kB / 443.4 MB, free: 10.34 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3211, allocations: 0.938 MB / 444.3 MB, free: 9.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.3212, allocations: 37.7 kB / 444.4 MB, free: 9.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.3215, allocations: 408.7 kB / 444.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/0.3217, allocations: 218.1 kB / 445 MB, free: 8.738 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002234/0.3219, allocations: 126.6 kB / 445.1 MB, free: 8.609 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000172/0.3221, allocations: 326 kB / 445.4 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006529/0.3228, allocations: 245.9 kB / 445.7 MB, free: 8.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007487/0.3235, allocations: 351 kB / 446 MB, free: 7.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/0.3249, allocations: 0.5633 MB / 446.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3249, allocations: 0 / 446.6 MB, free: 7.082 MB / 350.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001676/0.3265, allocations: 0.7349 MB / 447.3 MB, free: 6.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.3266, allocations: 11.98 kB / 447.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.939e-06/0.3266, allocations: 0 / 447.3 MB, free: 6.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.3266, allocations: 8 kB / 447.3 MB, free: 6.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000784/0.3274, allocations: 171.7 kB / 447.5 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.116e-05/0.3274, allocations: 8.062 kB / 447.5 MB, free: 6.145 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.3279, allocations: 39.95 kB / 447.5 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.328, allocations: 31.98 kB / 447.6 MB, free: 6.074 MB / 350.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.0003591/0.3283, allocations: 261.6 kB / 447.8 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00015/0.3285, allocations: 83.42 kB / 447.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/0.33, allocations: 0.6383 MB / 448.6 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.33, allocations: 4 kB / 448.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.33, allocations: 0 / 448.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.395e-06/0.33, allocations: 3.984 kB / 448.6 MB, free: 5.066 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003235/0.3333, allocations: 1.767 MB / 450.3 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.3333, allocations: 12.02 kB / 450.3 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005865/0.3338, allocations: 135.8 kB / 450.5 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/0.3339, allocations: 4 kB / 450.5 MB, free: 3.031 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-05/0.3339, allocations: 16 kB / 450.5 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.636e-06/0.3339, allocations: 7.984 kB / 450.5 MB, free: 3.008 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.3339, allocations: 4 kB / 450.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.3354, allocations: 0.7455 MB / 451.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.3356, allocations: 131.4 kB / 451.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.3358, allocations: 12 kB / 451.4 MB, free: 2.07 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004491/0.3362, allocations: 39.95 kB / 451.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.3363, allocations: 52.23 kB / 451.5 MB, free: 1.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.051e-05/0.3363, allocations: 23.94 kB / 451.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008709/0.3372, allocations: 0.6864 MB / 452.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3372, allocations: 0 / 452.2 MB, free: 1.277 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005696/0.3378, allocations: 159.9 kB / 452.3 MB, free: 1.121 MB / 350.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.002971/0.3408, allocations: 1.55 MB / 453.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001451/0.3422, allocations: 0.5612 MB / 454.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3422, allocations: 4.188 kB / 454.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.3429, allocations: 266.2 kB / 454.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007823/0.3436, allocations: 141.9 kB / 454.9 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.3545, allocations: 6.506 MB / 461.4 MB, free: 7.934 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007371/0.3553, allocations: 0.9592 MB / 462.3 MB, free: 6.949 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003855/0.3557, allocations: 97.03 kB / 462.4 MB, free: 6.855 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.3561, allocations: 287.3 kB / 462.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3561, allocations: 0 / 462.7 MB, free: 6.574 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0456/0.4017, allocations: 16.17 MB / 478.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.56, allocations: 6.922 kB / 478.9 MB, free: 6.555 MB / 382.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/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: 15.343763753015082]