Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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.001956/0.001956, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002402/0.002402, allocations: 214.3 kB / 23.73 MB, free: 4.16 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: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2728/0.2728, allocations: 44.94 MB / 358.8 MB, free: 6.035 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002108/0.002108, allocations: 69.94 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3605, allocations: 65.46 MB / 0.557 GB, free: 7.324 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.006181/0.3667, allocations: 3.764 MB / 0.5606 GB, free: 3.727 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002575/0.3693, allocations: 1.141 MB / 0.5617 GB, free: 2.582 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005732/0.3698, allocations: 19.88 kB / 0.5618 GB, free: 2.562 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.3702, allocations: 102.9 kB / 0.5619 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006712/0.3709, allocations: 210.1 kB / 0.5621 GB, free: 2.254 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007748/0.3717, allocations: 231.6 kB / 0.5623 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001141/0.3728, allocations: 0.7978 MB / 0.5631 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003431/0.3732, allocations: 157.9 kB / 0.5632 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005258/0.3737, allocations: 330.8 kB / 0.5635 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005161/0.3742, allocations: 306.5 kB / 0.5638 GB, free: 456 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.609e-05/0.3743, allocations: 60 kB / 0.5639 GB, free: 396 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.3745, allocations: 95.92 kB / 0.564 GB, free: 300 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3747, allocations: 147.4 kB / 0.5641 GB, free: 152 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.375, allocations: 298.6 kB / 0.5644 GB, free: 15.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001056/0.376, allocations: 0.7974 MB / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.376, allocations: 0 / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.376, allocations: 0 / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.155e-05/0.3761, allocations: 0 / 0.5652 GB, free: 15.05 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002001/0.3781, allocations: 0.9603 MB / 0.5661 GB, free: 14.06 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3781, allocations: 12.03 kB / 0.5661 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001969/0.3783, allocations: 98.7 kB / 0.5662 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006723/0.379, allocations: 148.3 kB / 0.5664 GB, free: 13.8 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006778/0.3797, allocations: 364.2 kB / 0.5667 GB, free: 13.42 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.988e-05/0.3797, allocations: 41.69 kB / 0.5667 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.3798, allocations: 72.08 kB / 0.5668 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.381, allocations: 0.6155 MB / 0.5674 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.381, allocations: 11.89 kB / 0.5674 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/0.3811, allocations: 24 kB / 0.5674 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.762e-05/0.3811, allocations: 20 kB / 0.5675 GB, free: 12.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.3823, allocations: 0.5057 MB / 0.568 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003529/0.3858, allocations: 1.992 MB / 0.5699 GB, free: 9.996 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001326/0.3871, allocations: 0.6532 MB / 0.5705 GB, free: 9.277 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006167/0.3877, allocations: 315.1 kB / 0.5708 GB, free: 8.945 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001214/0.3879, allocations: 20.42 kB / 0.5709 GB, free: 8.926 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.986e-05/0.3879, allocations: 50.94 kB / 0.5709 GB, free: 8.867 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 3.056e-06/0.3879, allocations: 0 / 0.5709 GB, free: 8.867 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.00861/0.3965, allocations: 3.955 MB / 0.5748 GB, free: 4.719 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002363/0.3968, allocations: 222.3 kB / 0.575 GB, free: 4.453 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005037/0.3973, allocations: 397.8 kB / 0.5754 GB, free: 4.059 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.3973, allocations: 45.7 kB / 0.5754 GB, free: 4.008 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002365/0.3976, allocations: 281.5 kB / 0.5757 GB, free: 3.727 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003829/0.3979, allocations: 428.3 kB / 0.5761 GB, free: 3.305 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.3982, allocations: 183 kB / 0.5763 GB, free: 3.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.3984, allocations: 378.8 kB / 0.5766 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007104/0.3991, allocations: 310.5 kB / 0.5769 GB, free: 2.438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009109/0.4, allocations: 0.5004 MB / 0.5774 GB, free: 1.863 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.4016, allocations: 0.8511 MB / 0.5782 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.152e-06/0.4016, allocations: 4.562 kB / 0.5782 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001865/0.4035, allocations: 1.005 MB / 0.5792 GB, free: 15.93 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4035, allocations: 8 kB / 0.5792 GB, free: 15.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.4035, allocations: 4 kB / 0.5792 GB, free: 15.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.4036, allocations: 12 kB / 0.5792 GB, free: 15.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4047, allocations: 275.6 kB / 0.5795 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.009e-05/0.4047, allocations: 16.42 kB / 0.5795 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000467/0.4052, allocations: 51.92 kB / 0.5796 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.968e-05/0.4053, allocations: 43.92 kB / 0.5796 GB, free: 15.52 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 145 * 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.0003714/0.4057, allocations: 225.6 kB / 0.5798 GB, free: 15.29 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.4059, allocations: 83.47 kB / 0.5799 GB, free: 15.21 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.4064, allocations: 223 kB / 0.5801 GB, free: 14.99 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.657e-05/0.4064, allocations: 16 kB / 0.5801 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.587e-05/0.4064, allocations: 0 / 0.5801 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.4064, allocations: 11.98 kB / 0.5801 GB, free: 14.96 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004202/0.4106, allocations: 2.136 MB / 0.5822 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.4106, allocations: 0 / 0.5822 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001124/0.4118, allocations: 255.6 kB / 0.5825 GB, free: 12.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.827e-05/0.4118, allocations: 8 kB / 0.5825 GB, free: 12.48 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.4118, allocations: 23.98 kB / 0.5825 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.194e-05/0.4119, allocations: 11.94 kB / 0.5825 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.4119, allocations: 4.281 kB / 0.5825 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002768/0.4146, allocations: 1.888 MB / 0.5844 GB, free: 10.52 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004139/0.415, allocations: 139.5 kB / 0.5845 GB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.4151, allocations: 27.98 kB / 0.5845 GB, free: 10.36 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.4157, allocations: 39.97 kB / 0.5846 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.4159, allocations: 88.39 kB / 0.5846 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.019e-05/0.416, allocations: 35.98 kB / 0.5847 GB, free: 10.19 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003464/0.4163, allocations: 267.1 kB / 0.5849 GB, free: 9.93 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4163, allocations: 0 / 0.5849 GB, free: 9.93 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008774/0.4172, allocations: 200.1 kB / 0.5851 GB, free: 9.734 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 15 (slidingMass.s,slidingMass.v,damper.s_rel,springDamper.s_rel,springDamper.v_rel,elastoGap.s_rel,elastoGap.v_rel,relativeStates.s_rel,relativeStates.v_rel,position2.s,position2.v,position1.s,position1.v,position.s,position.v) * Number of discrete variables: 1 (elastoGap.contact) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 116 * 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.003945/0.4211, allocations: 2.47 MB / 0.5875 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002528/0.4237, allocations: 0.7961 MB / 0.5883 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.685e-06/0.4237, allocations: 0 / 0.5883 GB, free: 6.422 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001322/0.425, allocations: 467.8 kB / 0.5888 GB, free: 5.965 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002207/0.4272, allocations: 150.2 kB / 0.5889 GB, free: 5.824 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/0.4387, allocations: 7.287 MB / 0.596 GB, free: 14.22 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004259/0.4391, allocations: 357.1 kB / 0.5964 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004517/0.4396, allocations: 106 kB / 0.5965 GB, free: 13.74 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004161/0.44, allocations: 271.3 kB / 0.5967 GB, free: 13.48 MB / 446.1 MB Notification: Performance of SimCode: time 1.042e-06/0.44, allocations: 0 / 0.5967 GB, free: 13.48 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04705/0.487, allocations: 15.16 MB / 0.6115 GB, free: 14.59 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.81/12.29, allocations: 4.047 kB / 0.6115 GB, free: 14.58 MB / 462.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.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.636384217999876]