Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.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.001412/0.001412, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.00154/0.00154, allocations: 215.7 kB / 23.75 MB, free: 4.668 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.481/1.481, allocations: 230.6 MB / 257.5 MB, free: 8.004 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.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 51.86 kB / 377.8 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2669/0.2683, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour): time 0.008498/0.2768, allocations: 6.615 MB / 437.7 MB, free: 220 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004778/0.2816, allocations: 2.4 MB / 440.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005647/0.2822, allocations: 23.88 kB / 440.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008579/0.283, allocations: 361.7 kB / 440.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00123/0.2843, allocations: 0.5434 MB / 441.1 MB, free: 12.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009682/0.2852, allocations: 463.2 kB / 441.5 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001878/0.2871, allocations: 1.561 MB / 443.1 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005872/0.2877, allocations: 362.9 kB / 443.4 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008486/0.2886, allocations: 0.6074 MB / 444 MB, free: 9.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008892/0.2894, allocations: 0.6847 MB / 444.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002047/0.2896, allocations: 160 kB / 444.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.29, allocations: 200 kB / 445.1 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003361/0.2903, allocations: 330.9 kB / 445.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006873/0.291, allocations: 0.6844 MB / 446.1 MB, free: 7.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002207/0.2932, allocations: 1.984 MB / 448.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2932, allocations: 0 / 448.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.2932, allocations: 0 / 448.1 MB, free: 5.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.954e-05/0.2933, allocations: 4 kB / 448.1 MB, free: 5.836 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.003267/0.2965, allocations: 1.501 MB / 449.6 MB, free: 4.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.2966, allocations: 8.031 kB / 449.6 MB, free: 4.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/0.2968, allocations: 148.3 kB / 449.7 MB, free: 4.141 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/0.2973, allocations: 164.1 kB / 449.9 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001331/0.2987, allocations: 0.6811 MB / 450.6 MB, free: 3.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.105e-05/0.2987, allocations: 74 kB / 450.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.2989, allocations: 96 kB / 450.7 MB, free: 3.102 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001856/0.3007, allocations: 0.9818 MB / 451.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.418e-05/0.3008, allocations: 0 / 451.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.3009, allocations: 40 kB / 451.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.3009, allocations: 24 kB / 451.8 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001704/0.3026, allocations: 0.821 MB / 452.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005964/0.3086, allocations: 3.569 MB / 456.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001996/0.3105, allocations: 0.5892 MB / 456.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006019/0.3111, allocations: 291.2 kB / 457 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.017e-05/0.3112, allocations: 12.38 kB / 457.1 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.528e-05/0.3112, allocations: 47.09 kB / 457.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of pre-optimization done (n=58): time 2.044e-06/0.3112, allocations: 0 / 457.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=67): time 0.004262/0.3155, allocations: 1.684 MB / 458.8 MB, free: 10.83 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.566e-05/0.3156, allocations: 93.11 kB / 458.9 MB, free: 10.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.317, allocations: 1.034 MB / 459.9 MB, free: 9.664 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.219e-05/0.3171, allocations: 37.7 kB / 459.9 MB, free: 9.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004848/0.3176, allocations: 0.5622 MB / 460.5 MB, free: 9.051 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002195/0.3178, allocations: 249.9 kB / 460.8 MB, free: 8.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002942/0.3181, allocations: 162.6 kB / 460.9 MB, free: 8.641 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001786/0.3183, allocations: 341.9 kB / 461.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007542/0.319, allocations: 313.8 kB / 461.6 MB, free: 7.992 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000895/0.3199, allocations: 498.8 kB / 462 MB, free: 7.438 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001606/0.3215, allocations: 0.7786 MB / 462.8 MB, free: 6.586 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3215, allocations: 3.938 kB / 462.8 MB, free: 6.582 MB / 366.1 MB Notification: Performance of matching and sorting (n=112) (initialization): time 0.002075/0.3236, allocations: 0.967 MB / 463.8 MB, free: 5.609 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.096e-05/0.3236, allocations: 8 kB / 463.8 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.3236, allocations: 11.94 kB / 463.8 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.753e-05/0.3237, allocations: 8 kB / 463.8 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.3249, allocations: 279.9 kB / 464.1 MB, free: 5.309 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.3249, allocations: 11.98 kB / 464.1 MB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007179/0.3256, allocations: 51.89 kB / 464.2 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/0.3257, allocations: 39.94 kB / 464.2 MB, free: 5.207 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 4 (cActuator.armature.stopper_xMin.contact,cActuator.armature.stopper_xMax.contact,pmActuator.armature.stopper_xMin.contact,pmActuator.armature.stopper_xMax.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 112 * 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.0004584/0.3261, allocations: 298.7 kB / 464.5 MB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000176/0.3263, allocations: 107.3 kB / 464.6 MB, free: 4.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008431/0.3272, allocations: 342.8 kB / 464.9 MB, free: 4.457 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.3272, allocations: 8 kB / 464.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.3272, allocations: 0 / 464.9 MB, free: 4.449 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.3272, allocations: 11.92 kB / 464.9 MB, free: 4.438 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004165/0.3314, allocations: 2.246 MB / 467.2 MB, free: 2.059 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.3314, allocations: 8 kB / 467.2 MB, free: 2.051 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.3322, allocations: 212.2 kB / 467.4 MB, free: 1.844 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.3322, allocations: 11.94 kB / 467.4 MB, free: 1.832 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.3323, allocations: 27.98 kB / 467.4 MB, free: 1.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/0.3323, allocations: 11.94 kB / 467.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/0.3323, allocations: 8 kB / 467.5 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001752/0.3341, allocations: 1.041 MB / 468.5 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00023/0.3343, allocations: 123.3 kB / 468.6 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.3344, allocations: 16 kB / 468.6 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.3351, allocations: 51.95 kB / 468.7 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.3352, allocations: 71.72 kB / 468.8 MB, free: 392 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.053e-05/0.3352, allocations: 31.94 kB / 468.8 MB, free: 360 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001122/0.3364, allocations: 0.7151 MB / 469.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3364, allocations: 0 / 469.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008399/0.3372, allocations: 212 kB / 469.7 MB, free: 15.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 67 * 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.003517/0.3407, allocations: 1.854 MB / 471.6 MB, free: 13.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.3424, allocations: 0.699 MB / 472.3 MB, free: 12.9 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.3424, allocations: 7.938 kB / 472.3 MB, free: 12.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007833/0.3432, allocations: 341.4 kB / 472.6 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.3446, allocations: 222.1 kB / 472.8 MB, free: 12.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01524/0.3599, allocations: 8.472 MB / 481.3 MB, free: 3.441 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007821/0.3607, allocations: 1.041 MB / 482.3 MB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005764/0.3612, allocations: 123.6 kB / 482.5 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006227/0.3619, allocations: 399.3 kB / 482.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3619, allocations: 0 / 482.8 MB, free: 1.855 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07001/0.4319, allocations: 21.58 MB / 0.4926 GB, free: 12.46 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.22/13.65, allocations: 14.12 kB / 0.4926 GB, free: 12.46 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour_fmu --startTime=0 --stopTime=6 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceCurrentBehaviour.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/MovingCoilActuator/ForceCurrentBehaviour/ForceCurrentBehaviour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceCurrentBehaviour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 19.506290471879765]