Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001922/0.001922, allocations: 114.3 kB / 18.49 MB, free: 4.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002166/0.002166, allocations: 220.7 kB / 21.46 MB, free: 1.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.4 MB / 254.7 MB, free: 15.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 55.91 kB / 373.7 MB, free: 10.05 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.111, allocations: 53.38 MB / 427.1 MB, free: 4.578 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.2253/0.3363, allocations: 4.671 MB / 431.7 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003312/0.3396, allocations: 2.003 MB / 433.7 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005381/0.3401, allocations: 13.16 kB / 433.8 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007756/0.3409, allocations: 428.7 kB / 434.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009827/0.3419, allocations: 469.5 kB / 434.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006838/0.3426, allocations: 316.9 kB / 434.9 MB, free: 7.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3437, allocations: 1.046 MB / 436 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.3441, allocations: 203.4 kB / 436.2 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006397/0.3447, allocations: 438.1 kB / 436.6 MB, free: 6.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007444/0.3454, allocations: 0.5266 MB / 437.1 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001632/0.3456, allocations: 97.75 kB / 437.2 MB, free: 6.758 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.3459, allocations: 140.3 kB / 437.4 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002166/0.3461, allocations: 238.7 kB / 437.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000409/0.3465, allocations: 461.4 kB / 438.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.3482, allocations: 1.304 MB / 439.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3482, allocations: 0 / 439.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.3482, allocations: 5.656 kB / 439.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.115e-05/0.3483, allocations: 4 kB / 439.4 MB, free: 5.82 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.002517/0.3508, allocations: 1.229 MB / 440.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3508, allocations: 9 kB / 440.6 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.876e-05/0.3509, allocations: 19.88 kB / 440.6 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.351, allocations: 109.3 kB / 440.7 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005196/0.3515, allocations: 130.4 kB / 440.9 MB, free: 4.816 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009749/0.3525, allocations: 0.5757 MB / 441.4 MB, free: 4.395 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.3525, allocations: 50.77 kB / 441.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3527, allocations: 63.62 kB / 441.5 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001296/0.3539, allocations: 0.6351 MB / 442.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.479e-05/0.354, allocations: 1.156 kB / 442.2 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.827e-05/0.354, allocations: 21.5 kB / 442.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.354, allocations: 15.28 kB / 442.2 MB, free: 4.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001184/0.3552, allocations: 0.5256 MB / 442.7 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003862/0.3591, allocations: 2.543 MB / 445.3 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008855/0.36, allocations: 450.9 kB / 445.7 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000626/0.3606, allocations: 268.5 kB / 446 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.893e-05/0.3607, allocations: 18.81 kB / 446 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.3607, allocations: 36.86 kB / 446 MB, free: 1.855 MB / 350.1 MB Notification: Performance of pre-optimization done (n=50): time 2.375e-06/0.3607, allocations: 1.344 kB / 446 MB, free: 1.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=63): time 0.00453/0.3652, allocations: 1.454 MB / 447.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.3653, allocations: 59.47 kB / 447.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.3666, allocations: 0.9691 MB / 448.5 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.16e-05/0.3666, allocations: 36.92 kB / 448.6 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.367, allocations: 417.2 kB / 449 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.3671, allocations: 223.3 kB / 449.2 MB, free: 308 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002739/0.3674, allocations: 123.3 kB / 449.3 MB, free: 240 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.3675, allocations: 336.5 kB / 449.6 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000593/0.3681, allocations: 224.8 kB / 449.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006574/0.3688, allocations: 332.3 kB / 450.2 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.37, allocations: 0.5495 MB / 450.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.37, allocations: 1.219 kB / 450.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001691/0.3717, allocations: 0.7083 MB / 451.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.3717, allocations: 10.91 kB / 451.4 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3718, allocations: 6.031 kB / 451.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.438e-05/0.3718, allocations: 5.5 kB / 451.5 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000799/0.3726, allocations: 171.4 kB / 451.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.638e-05/0.3726, allocations: 6.797 kB / 451.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006711/0.3733, allocations: 29.52 kB / 451.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.3733, allocations: 26.53 kB / 451.7 MB, free: 15 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.0005151/0.3738, allocations: 278.9 kB / 452 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.374, allocations: 91.62 kB / 452.1 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.3755, allocations: 0.6033 MB / 452.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.3755, allocations: 6.203 kB / 452.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.3755, allocations: 5.375 kB / 452.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.037e-05/0.3755, allocations: 3.141 kB / 452.7 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003622/0.3792, allocations: 1.782 MB / 454.5 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/0.3792, allocations: 7.938 kB / 454.5 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006063/0.3798, allocations: 127.1 kB / 454.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/0.3798, allocations: 8.531 kB / 454.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.952e-05/0.3798, allocations: 16.34 kB / 454.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.086e-05/0.3799, allocations: 5.812 kB / 454.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.3799, allocations: 3.922 kB / 454.6 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.3814, allocations: 0.7312 MB / 455.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004208/0.3818, allocations: 210.2 kB / 455.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.3819, allocations: 13.91 kB / 455.6 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/0.3824, allocations: 29.09 kB / 455.6 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.3825, allocations: 53.52 kB / 455.6 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.3826, allocations: 19.06 kB / 455.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001147/0.3837, allocations: 0.7014 MB / 456.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3837, allocations: 0 / 456.4 MB, free: 12.44 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009434/0.3846, allocations: 153 kB / 456.5 MB, free: 12.42 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.003313/0.388, allocations: 1.545 MB / 458.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00148/0.3894, allocations: 0.5234 MB / 458.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.3894, allocations: 0 / 458.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005967/0.39, allocations: 254.5 kB / 458.8 MB, free: 11.02 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3911, allocations: 142.9 kB / 459 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01274/0.4039, allocations: 6.544 MB / 465.5 MB, free: 6.848 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007192/0.4046, allocations: 0.9673 MB / 466.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005542/0.4051, allocations: 95.61 kB / 466.6 MB, free: 5.992 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/0.4057, allocations: 309.4 kB / 466.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4057, allocations: 0 / 466.9 MB, free: 5.734 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04113/0.4468, allocations: 16.15 MB / 483 MB, free: 7.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.924/10.37, allocations: 8.312 kB / 483 MB, free: 7.625 MB / 382.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour_fmu --startTime=-4 --stopTime=4 --stepSize=0.0001 --timeout=50 --tolerance=1e-07 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_MovingCoilActuator_ForceStrokeBehaviour.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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: 19.146891216980293]