Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001519/0.001519, allocations: 108.5 kB / 21.18 MB, free: 0.5508 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.001919/0.001919, allocations: 204.2 kB / 24.49 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.505/1.505, allocations: 207.6 MB / 235.3 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 59.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2998, allocations: 49.16 MB / 396.3 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.005872/0.3056, allocations: 4.565 MB / 400.9 MB, free: 5.809 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.3089, allocations: 1.767 MB / 402.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006052/0.3095, allocations: 14.16 kB / 402.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.3106, allocations: 420.1 kB / 403.1 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001159/0.3117, allocations: 430.1 kB / 403.5 MB, free: 4.234 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007628/0.3125, allocations: 301.2 kB / 403.8 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001416/0.3139, allocations: 1.029 MB / 404.8 MB, free: 3.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004018/0.3143, allocations: 219 kB / 405.1 MB, free: 3.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006307/0.3149, allocations: 413.4 kB / 405.5 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007413/0.3157, allocations: 0.5283 MB / 406 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.3158, allocations: 101 kB / 406.1 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.3161, allocations: 123.3 kB / 406.2 MB, free: 3 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002395/0.3163, allocations: 237.6 kB / 406.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003708/0.3167, allocations: 449.1 kB / 406.9 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001602/0.3183, allocations: 1.281 MB / 408.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3183, allocations: 0 / 408.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.126e-06/0.3183, allocations: 0 / 408.2 MB, free: 2.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.3183, allocations: 0 / 408.2 MB, free: 2.059 MB / 318.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.00269/0.321, allocations: 1.158 MB / 409.3 MB, free: 1.23 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.3211, allocations: 13.58 kB / 409.3 MB, free: 1.227 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.3212, allocations: 101.9 kB / 409.4 MB, free: 1.137 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001832/0.3214, allocations: 111 kB / 409.5 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009379/0.3223, allocations: 0.4912 MB / 410 MB, free: 0.6602 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.82e-05/0.3224, allocations: 45.5 kB / 410.1 MB, free: 0.6406 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.712e-05/0.3225, allocations: 62.81 kB / 410.1 MB, free: 0.6172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3236, allocations: 0.6451 MB / 410.8 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.3236, allocations: 5.078 kB / 410.8 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.311e-05/0.3236, allocations: 29.34 kB / 410.8 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.696e-05/0.3237, allocations: 14.41 kB / 410.8 MB, free: 200 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.3249, allocations: 0.5555 MB / 411.4 MB, free: 15.92 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004275/0.3291, allocations: 2.465 MB / 413.9 MB, free: 13.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3301, allocations: 445.5 kB / 414.3 MB, free: 13.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000687/0.3308, allocations: 278.3 kB / 414.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.511e-05/0.3309, allocations: 15.97 kB / 414.6 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3309, allocations: 44.41 kB / 414.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of pre-optimization done (n=48): time 2.404e-06/0.3309, allocations: 0 / 414.6 MB, free: 13.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=61): time 0.004558/0.3355, allocations: 1.501 MB / 416.1 MB, free: 12.7 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.708e-05/0.3355, allocations: 58.25 kB / 416.2 MB, free: 12.63 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/0.3369, allocations: 0.9404 MB / 417.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.682e-05/0.3369, allocations: 35.77 kB / 417.2 MB, free: 12.11 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003282/0.3373, allocations: 412.6 kB / 417.6 MB, free: 11.75 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.3374, allocations: 215.6 kB / 417.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.3377, allocations: 120.2 kB / 417.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3378, allocations: 332.2 kB / 418.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006196/0.3385, allocations: 241.3 kB / 418.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000683/0.3391, allocations: 354.5 kB / 418.8 MB, free: 10.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.3403, allocations: 0.563 MB / 419.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3403, allocations: 1.375 kB / 419.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001634/0.342, allocations: 0.7338 MB / 420.1 MB, free: 10.11 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.342, allocations: 10.09 kB / 420.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.342, allocations: 2.656 kB / 420.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.174e-05/0.342, allocations: 9.156 kB / 420.1 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.3428, allocations: 171.3 kB / 420.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/0.3428, allocations: 4.969 kB / 420.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005584/0.3434, allocations: 43.09 kB / 420.3 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.3434, allocations: 25.73 kB / 420.4 MB, free: 10.02 MB / 334.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.0004153/0.3438, allocations: 269.5 kB / 420.6 MB, free: 9.82 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.344, allocations: 89.31 kB / 420.7 MB, free: 9.77 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.3454, allocations: 0.6364 MB / 421.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.3454, allocations: 5 kB / 421.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/0.3454, allocations: 1.5 kB / 421.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.663e-06/0.3455, allocations: 0 / 421.3 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003248/0.3487, allocations: 1.777 MB / 423.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.373e-06/0.3487, allocations: 2.531 kB / 423.1 MB, free: 8.043 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.3493, allocations: 136.4 kB / 423.3 MB, free: 7.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.3493, allocations: 8 kB / 423.3 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.3493, allocations: 15.98 kB / 423.3 MB, free: 7.902 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.064e-06/0.3493, allocations: 7.938 kB / 423.3 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3493, allocations: 4 kB / 423.3 MB, free: 7.891 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001346/0.3507, allocations: 0.7494 MB / 424 MB, free: 7.09 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002853/0.351, allocations: 135.4 kB / 424.2 MB, free: 6.957 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.985e-05/0.351, allocations: 15.94 kB / 424.2 MB, free: 6.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004278/0.3515, allocations: 35.97 kB / 424.2 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3516, allocations: 56.23 kB / 424.3 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.002e-05/0.3516, allocations: 23.98 kB / 424.3 MB, free: 6.828 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0008671/0.3525, allocations: 0.6826 MB / 425 MB, free: 6.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3525, allocations: 0 / 425 MB, free: 6.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0006166/0.3531, allocations: 148 kB / 425.1 MB, free: 6.008 MB / 334.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.003071/0.3562, allocations: 1.557 MB / 426.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0014/0.3576, allocations: 0.5531 MB / 427.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.3576, allocations: 0 / 427.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006143/0.3582, allocations: 275.4 kB / 427.5 MB, free: 3.57 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/0.359, allocations: 126.9 kB / 427.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.3691, allocations: 6.51 MB / 434.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006714/0.3698, allocations: 0.9592 MB / 435.1 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004047/0.3702, allocations: 93.03 kB / 435.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/0.3707, allocations: 295.3 kB / 435.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3707, allocations: 0 / 435.5 MB, free: 11.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05459/0.4252, allocations: 16.16 MB / 451.6 MB, free: 11.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.15/13.58, allocations: 4.062 kB / 451.6 MB, free: 11.02 MB / 366.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.00159936 --timeout=50 --tolerance=1e-07 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceStrokeBehaviour/ForceStrokeBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 16.46698554698378]