Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001689/0.001689, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.002064/0.002064, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2485/0.2485, allocations: 46.94 MB / 361.7 MB, free: 4.277 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 67.91 kB / 0.4969 GB, free: 7.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3353, allocations: 66.03 MB / 0.5614 GB, free: 4.496 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005631/0.341, allocations: 4.198 MB / 0.5655 GB, free: 280 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002997/0.344, allocations: 1.196 MB / 0.5667 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005152/0.3445, allocations: 19.88 kB / 0.5667 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003078/0.3448, allocations: 106.9 kB / 0.5668 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005182/0.3453, allocations: 206.1 kB / 0.567 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007537/0.3461, allocations: 227.6 kB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001114/0.3472, allocations: 0.7978 MB / 0.568 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.3475, allocations: 169.9 kB / 0.5681 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005821/0.3481, allocations: 330.8 kB / 0.5685 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004745/0.3486, allocations: 346.4 kB / 0.5688 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.314e-05/0.3487, allocations: 60 kB / 0.5688 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002075/0.3489, allocations: 91.98 kB / 0.5689 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000152/0.3491, allocations: 147.4 kB / 0.5691 GB, free: 12.6 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.3494, allocations: 358.1 kB / 0.5694 GB, free: 12.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009771/0.3504, allocations: 0.7857 MB / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3504, allocations: 0 / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.3504, allocations: 0 / 0.5702 GB, free: 11.46 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.158e-05/0.3504, allocations: 0 / 0.5702 GB, free: 11.46 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.00205/0.3525, allocations: 0.9603 MB / 0.5711 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.3525, allocations: 8.031 kB / 0.5711 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.424e-05/0.3525, allocations: 17.5 kB / 0.5711 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001137/0.3526, allocations: 98.7 kB / 0.5712 GB, free: 10.33 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006802/0.3533, allocations: 152.3 kB / 0.5714 GB, free: 10.18 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006206/0.3539, allocations: 368.1 kB / 0.5717 GB, free: 9.797 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.354, allocations: 41.69 kB / 0.5718 GB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.3541, allocations: 75.88 kB / 0.5718 GB, free: 9.684 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001163/0.3553, allocations: 0.6116 MB / 0.5724 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.3553, allocations: 7.953 kB / 0.5725 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.931e-05/0.3554, allocations: 31.94 kB / 0.5725 GB, free: 9.004 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/0.3554, allocations: 12 kB / 0.5725 GB, free: 8.992 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.3565, allocations: 0.5219 MB / 0.573 GB, free: 8.477 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003364/0.3599, allocations: 2.109 MB / 0.5751 GB, free: 6.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/0.3612, allocations: 0.6531 MB / 0.5757 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006041/0.3618, allocations: 315.2 kB / 0.576 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00012/0.3619, allocations: 24.72 kB / 0.576 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.3619, allocations: 42.94 kB / 0.5761 GB, free: 5.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.885e-06/0.3619, allocations: 0 / 0.5761 GB, free: 5.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008416/0.3703, allocations: 3.953 MB / 0.5799 GB, free: 0.9766 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.3705, allocations: 222.3 kB / 0.5801 GB, free: 0.7109 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004719/0.371, allocations: 389.9 kB / 0.5805 GB, free: 324 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.448e-05/0.371, allocations: 45.7 kB / 0.5806 GB, free: 272 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002374/0.3713, allocations: 285.7 kB / 0.5808 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003811/0.3717, allocations: 432.2 kB / 0.5812 GB, free: 15.55 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/0.3719, allocations: 174.9 kB / 0.5814 GB, free: 15.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002445/0.3722, allocations: 386.8 kB / 0.5818 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006777/0.3729, allocations: 310.4 kB / 0.5821 GB, free: 14.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008352/0.3737, allocations: 0.498 MB / 0.5826 GB, free: 14.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001529/0.3752, allocations: 0.8586 MB / 0.5834 GB, free: 13.2 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/0.3752, allocations: 4 kB / 0.5834 GB, free: 13.19 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001942/0.3772, allocations: 0.996 MB / 0.5844 GB, free: 12.19 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.3772, allocations: 8 kB / 0.5844 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.3772, allocations: 4 kB / 0.5844 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.218e-05/0.3773, allocations: 12.44 kB / 0.5844 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/0.3783, allocations: 279.6 kB / 0.5847 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.971e-05/0.3783, allocations: 20.16 kB / 0.5847 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005045/0.3788, allocations: 39.97 kB / 0.5847 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.115e-05/0.3789, allocations: 44 kB / 0.5848 GB, free: 11.79 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.0004144/0.3793, allocations: 241.4 kB / 0.585 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003311/0.3797, allocations: 79.53 kB / 0.5851 GB, free: 11.47 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005504/0.3802, allocations: 215 kB / 0.5853 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.3802, allocations: 16 kB / 0.5853 GB, free: 11.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/0.3803, allocations: 3.984 kB / 0.5853 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.3803, allocations: 7.984 kB / 0.5853 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004578/0.3849, allocations: 2.308 MB / 0.5876 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.3849, allocations: 4 kB / 0.5876 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/0.386, allocations: 243.7 kB / 0.5878 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.458e-05/0.386, allocations: 8 kB / 0.5878 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.629e-05/0.3861, allocations: 36.27 kB / 0.5878 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-05/0.3861, allocations: 8 kB / 0.5878 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.128e-06/0.3862, allocations: 7.938 kB / 0.5878 GB, free: 8.52 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003068/0.3892, allocations: 1.879 MB / 0.5897 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003542/0.3896, allocations: 131.4 kB / 0.5898 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001293/0.3897, allocations: 28 kB / 0.5898 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006973/0.3904, allocations: 39.97 kB / 0.5899 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002101/0.3906, allocations: 88.38 kB / 0.59 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.246e-05/0.3907, allocations: 36 kB / 0.59 GB, free: 6.289 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003823/0.3911, allocations: 263.1 kB / 0.5902 GB, free: 6.031 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3911, allocations: 4.188 kB / 0.5902 GB, free: 6.027 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001146/0.3922, allocations: 199.9 kB / 0.5904 GB, free: 5.832 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.003348/0.3956, allocations: 2.471 MB / 0.5928 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001854/0.3974, allocations: 0.7968 MB / 0.5936 GB, free: 2.516 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.3974, allocations: 4 kB / 0.5936 GB, free: 2.512 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000944/0.3984, allocations: 471.2 kB / 0.5941 GB, free: 2.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.3999, allocations: 131.9 kB / 0.5942 GB, free: 1.926 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01298/0.4129, allocations: 7.3 MB / 0.6013 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009809/0.4139, allocations: 0.9479 MB / 0.6023 GB, free: 9.332 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005921/0.4145, allocations: 110 kB / 0.6024 GB, free: 9.223 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005226/0.415, allocations: 271.3 kB / 0.6026 GB, free: 8.957 MB / 446.1 MB Notification: Performance of SimCode: time 1.603e-06/0.415, allocations: 0 / 0.6026 GB, free: 8.957 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04866/0.4636, allocations: 15.14 MB / 0.6174 GB, free: 10.04 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.04, allocations: 8.062 kB / 0.6174 GB, free: 10.03 MB / 462.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219824 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 16.57784626999637]