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.001298/0.001298, allocations: 115.7 kB / 18.49 MB, free: 4.566 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.001267/0.001267, allocations: 190.7 kB / 21.43 MB, free: 1.641 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.399/1.399, allocations: 225.6 MB / 249.8 MB, free: 3.625 MB / 190.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.001552/0.001552, allocations: 63.91 kB / 366.3 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09857/0.1001, allocations: 52.14 MB / 418.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.MovingCoilActuator.ForceStrokeBehaviour): time 0.006872/0.107, allocations: 4.619 MB / 423.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003482/0.1105, allocations: 1.804 MB / 424.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006189/0.1111, allocations: 11.94 kB / 424.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009123/0.112, allocations: 418.3 kB / 425.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001223/0.1132, allocations: 425.7 kB / 425.7 MB, free: 5.324 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000873/0.1141, allocations: 319.5 kB / 426 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00155/0.1157, allocations: 1.024 MB / 427.1 MB, free: 3.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00043/0.1161, allocations: 210.5 kB / 427.3 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000667/0.1168, allocations: 418.7 kB / 427.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000847/0.1176, allocations: 0.5295 MB / 428.2 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002141/0.1178, allocations: 96 kB / 428.3 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003561/0.1182, allocations: 131.9 kB / 428.4 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002462/0.1184, allocations: 231.2 kB / 428.7 MB, free: 2.379 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004739/0.1189, allocations: 457.6 kB / 429.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001442/0.1203, allocations: 1.272 MB / 430.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1203, allocations: 0 / 430.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.1203, allocations: 0 / 430.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.8e-05/0.1204, allocations: 4 kB / 430.4 MB, free: 0.6484 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002368/0.1227, allocations: 1.23 MB / 431.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1228, allocations: 8.031 kB / 431.6 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.847e-05/0.1228, allocations: 17.5 kB / 431.6 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001221/0.1229, allocations: 102.7 kB / 431.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001782/0.1231, allocations: 108.3 kB / 431.8 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009847/0.1241, allocations: 0.5634 MB / 432.4 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.596e-05/0.1241, allocations: 49.44 kB / 432.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.1242, allocations: 60 kB / 432.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.1256, allocations: 0.644 MB / 433.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.1256, allocations: 3.953 kB / 433.2 MB, free: 13.75 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.816e-05/0.1257, allocations: 31.97 kB / 433.2 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.174e-05/0.1257, allocations: 16 kB / 433.2 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.127, allocations: 0.5556 MB / 433.8 MB, free: 13.14 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004063/0.1311, allocations: 2.529 MB / 436.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009879/0.1321, allocations: 454.5 kB / 436.7 MB, free: 10.03 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007203/0.1328, allocations: 293.9 kB / 437 MB, free: 9.738 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.837e-05/0.1328, allocations: 4.438 kB / 437 MB, free: 9.734 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.1329, allocations: 39 kB / 437.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 2.294e-06/0.1329, allocations: 0 / 437.1 MB, free: 9.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=61): time 0.00465/0.1375, allocations: 1.506 MB / 438.6 MB, free: 8.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1376, allocations: 55.97 kB / 438.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001186/0.1387, allocations: 0.942 MB / 439.6 MB, free: 7.164 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/0.1388, allocations: 37.7 kB / 439.6 MB, free: 7.121 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003101/0.1391, allocations: 408.7 kB / 440 MB, free: 6.719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001776/0.1393, allocations: 214.1 kB / 440.2 MB, free: 6.508 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000208/0.1395, allocations: 118.6 kB / 440.3 MB, free: 6.387 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.1396, allocations: 338 kB / 440.7 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006114/0.1402, allocations: 241.9 kB / 440.9 MB, free: 5.816 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.1409, allocations: 343 kB / 441.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/0.1422, allocations: 0.5674 MB / 441.8 MB, free: 4.852 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1422, allocations: 0 / 441.8 MB, free: 4.852 MB / 366.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001623/0.1438, allocations: 0.7388 MB / 442.5 MB, free: 4.105 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.1438, allocations: 4 kB / 442.5 MB, free: 4.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.1438, allocations: 7.938 kB / 442.6 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.1438, allocations: 4 kB / 442.6 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007793/0.1446, allocations: 183.8 kB / 442.7 MB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.1446, allocations: 4 kB / 442.7 MB, free: 3.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004983/0.1451, allocations: 47.89 kB / 442.8 MB, free: 3.859 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.71e-05/0.1452, allocations: 20 kB / 442.8 MB, free: 3.84 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 (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.0003496/0.1455, allocations: 265.6 kB / 443.1 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.1457, allocations: 87.42 kB / 443.2 MB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.1472, allocations: 0.6358 MB / 443.8 MB, free: 2.836 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/0.1472, allocations: 8 kB / 443.8 MB, free: 2.828 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1472, allocations: 3.984 kB / 443.8 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-06/0.1472, allocations: 7.984 kB / 443.8 MB, free: 2.816 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/0.1502, allocations: 1.803 MB / 445.6 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/0.1502, allocations: 0 / 445.6 MB, free: 0.8867 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005676/0.1508, allocations: 131.8 kB / 445.7 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.093e-06/0.1508, allocations: 7.938 kB / 445.7 MB, free: 0.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.1508, allocations: 12 kB / 445.8 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.377e-05/0.1508, allocations: 11.98 kB / 445.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.1508, allocations: 0 / 445.8 MB, free: 0.7266 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.181/0.3319, allocations: 0.7482 MB / 446.5 MB, free: 29.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004767/0.3324, allocations: 208.8 kB / 446.7 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001057/0.3325, allocations: 18.78 kB / 446.7 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005168/0.333, allocations: 39.41 kB / 446.8 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.3331, allocations: 42.45 kB / 446.8 MB, free: 29.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.796e-05/0.3331, allocations: 22.03 kB / 446.8 MB, free: 29.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007625/0.3339, allocations: 0.6831 MB / 447.5 MB, free: 29.72 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3339, allocations: 2 kB / 447.5 MB, free: 29.72 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006225/0.3345, allocations: 151.5 kB / 447.7 MB, free: 29.72 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 (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.002608/0.3371, allocations: 1.56 MB / 449.2 MB, free: 28.96 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001342/0.3385, allocations: 0.5568 MB / 449.8 MB, free: 28.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.3385, allocations: 2.25 kB / 449.8 MB, free: 28.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005611/0.339, allocations: 274.1 kB / 450.1 MB, free: 28.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007303/0.3398, allocations: 129.2 kB / 450.2 MB, free: 28.95 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/0.3498, allocations: 6.511 MB / 456.7 MB, free: 26.48 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005776/0.3503, allocations: 0.9656 MB / 457.7 MB, free: 25.77 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004601/0.3508, allocations: 96.72 kB / 457.8 MB, free: 25.76 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/0.3512, allocations: 290.9 kB / 458 MB, free: 25.54 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3512, allocations: 1.188 kB / 458 MB, free: 25.54 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04138/0.3926, allocations: 15.69 MB / 473.7 MB, free: 20.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.441/9.833, allocations: 11.16 kB / 473.7 MB, free: 20.46 MB / 366.1 MB " [Timeout remaining time 650] (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: 12.575354832981247]