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.00133/0.00133, 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.001502/0.001502, allocations: 201.2 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.481/1.481, allocations: 230.6 MB / 258.3 MB, free: 8.027 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.2283/0.2283, allocations: 44.91 MB / 359.6 MB, free: 6.324 MB / 286.1 MB " [Timeout remaining time 180] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Translational_AllComponents",fmuType="cs",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.002012/0.002012, allocations: 67.91 kB / 0.4938 GB, free: 10.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.307/0.309, allocations: 65.47 MB / 0.5578 GB, free: 7.531 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005587/0.3146, allocations: 4.187 MB / 0.5619 GB, free: 3.59 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002395/0.317, allocations: 1.196 MB / 0.563 GB, free: 2.391 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000315/0.3173, allocations: 23.81 kB / 0.5631 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.3176, allocations: 103 kB / 0.5632 GB, free: 2.266 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004225/0.318, allocations: 202.1 kB / 0.5634 GB, free: 2.066 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006031/0.3186, allocations: 231.6 kB / 0.5636 GB, free: 1.84 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009022/0.3195, allocations: 0.7978 MB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003355/0.3199, allocations: 173.9 kB / 0.5645 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004705/0.3203, allocations: 326.8 kB / 0.5648 GB, free: 0.5469 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004841/0.3208, allocations: 354.4 kB / 0.5652 GB, free: 204 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.915e-05/0.3209, allocations: 56 kB / 0.5652 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/0.3211, allocations: 88 kB / 0.5653 GB, free: 60 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000162/0.3213, allocations: 155.4 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.3216, allocations: 354.2 kB / 0.5658 GB, free: 15.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009227/0.3225, allocations: 0.7856 MB / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3225, allocations: 0 / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3225, allocations: 0 / 0.5666 GB, free: 14.77 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.3225, allocations: 0 / 0.5666 GB, free: 14.77 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.002003/0.3245, allocations: 0.9603 MB / 0.5675 GB, free: 13.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3246, allocations: 12.03 kB / 0.5675 GB, free: 13.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.736e-05/0.3246, allocations: 13.5 kB / 0.5675 GB, free: 13.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001225/0.3247, allocations: 102.7 kB / 0.5676 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006705/0.3254, allocations: 152.3 kB / 0.5678 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000619/0.326, allocations: 364.1 kB / 0.5681 GB, free: 13.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.283e-05/0.3261, allocations: 41.69 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.3262, allocations: 75.83 kB / 0.5682 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.3274, allocations: 0.6116 MB / 0.5688 GB, free: 12.36 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.463e-05/0.3274, allocations: 7.953 kB / 0.5688 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.701e-05/0.3275, allocations: 27.98 kB / 0.5689 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3275, allocations: 20 kB / 0.5689 GB, free: 12.3 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001149/0.3286, allocations: 0.5073 MB / 0.5694 GB, free: 11.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003288/0.3319, allocations: 2.117 MB / 0.5714 GB, free: 9.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/0.3332, allocations: 0.6572 MB / 0.5721 GB, free: 8.84 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.3338, allocations: 316.7 kB / 0.5724 GB, free: 8.508 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001131/0.3339, allocations: 16.44 kB / 0.5724 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.818e-05/0.334, allocations: 54.92 kB / 0.5724 GB, free: 8.43 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.294e-06/0.334, allocations: 0 / 0.5724 GB, free: 8.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008195/0.3422, allocations: 3.945 MB / 0.5763 GB, free: 4.289 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001462/0.3423, allocations: 222.2 kB / 0.5765 GB, free: 4.023 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/0.3428, allocations: 394 kB / 0.5769 GB, free: 3.625 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.382e-05/0.3429, allocations: 45.7 kB / 0.5769 GB, free: 3.574 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.3431, allocations: 281.5 kB / 0.5772 GB, free: 3.293 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003487/0.3434, allocations: 436.2 kB / 0.5776 GB, free: 2.863 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002656/0.3437, allocations: 178.9 kB / 0.5778 GB, free: 2.684 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.3439, allocations: 386.8 kB / 0.5782 GB, free: 2.297 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006298/0.3445, allocations: 306.4 kB / 0.5784 GB, free: 1.996 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007755/0.3453, allocations: 0.4965 MB / 0.5789 GB, free: 1.434 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.3468, allocations: 0.8625 MB / 0.5798 GB, free: 0.5039 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3468, allocations: 4 kB / 0.5798 GB, free: 0.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001869/0.3486, allocations: 0.9928 MB / 0.5807 GB, free: 15.5 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.3487, allocations: 8 kB / 0.5808 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.3487, allocations: 4.094 kB / 0.5808 GB, free: 15.49 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.3487, allocations: 15.94 kB / 0.5808 GB, free: 15.47 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.3497, allocations: 275.6 kB / 0.581 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.057e-05/0.3497, allocations: 19.92 kB / 0.5811 GB, free: 15.18 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004701/0.3502, allocations: 44.23 kB / 0.5811 GB, free: 15.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.799e-05/0.3503, allocations: 43.98 kB / 0.5811 GB, free: 15.1 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.0003331/0.3506, allocations: 237.5 kB / 0.5814 GB, free: 14.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.3509, allocations: 79.47 kB / 0.5814 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/0.3514, allocations: 223 kB / 0.5817 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/0.3514, allocations: 12 kB / 0.5817 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/0.3514, allocations: 4 kB / 0.5817 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.3514, allocations: 11.92 kB / 0.5817 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003934/0.3553, allocations: 2.296 MB / 0.5839 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.3554, allocations: 7.938 kB / 0.5839 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.3564, allocations: 243.7 kB / 0.5842 GB, free: 11.89 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-05/0.3564, allocations: 8.141 kB / 0.5842 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.084e-05/0.3565, allocations: 28 kB / 0.5842 GB, free: 11.85 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.515e-05/0.3565, allocations: 11.98 kB / 0.5842 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.3565, allocations: 8.016 kB / 0.5842 GB, free: 11.83 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.3592, allocations: 1.886 MB / 0.5861 GB, free: 9.91 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000309/0.3595, allocations: 131.4 kB / 0.5862 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.3596, allocations: 20.19 kB / 0.5862 GB, free: 9.762 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006306/0.3603, allocations: 44.03 kB / 0.5862 GB, free: 9.719 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.3604, allocations: 100.3 kB / 0.5863 GB, free: 9.621 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/0.3605, allocations: 35.98 kB / 0.5864 GB, free: 9.586 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003094/0.3608, allocations: 267.1 kB / 0.5866 GB, free: 9.324 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3608, allocations: 0 / 0.5866 GB, free: 9.324 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009538/0.3618, allocations: 196 kB / 0.5868 GB, free: 9.133 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.003089/0.3649, allocations: 2.472 MB / 0.5892 GB, free: 6.609 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.3665, allocations: 0.7926 MB / 0.59 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.959e-06/0.3666, allocations: 0 / 0.59 GB, free: 5.816 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008705/0.3674, allocations: 468.5 kB / 0.5905 GB, free: 5.359 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.3688, allocations: 138.2 kB / 0.5906 GB, free: 5.23 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.3812, allocations: 7.299 MB / 0.5977 GB, free: 13.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007793/0.382, allocations: 0.9479 MB / 0.5986 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005963/0.3826, allocations: 102 kB / 0.5987 GB, free: 12.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004334/0.383, allocations: 271.3 kB / 0.599 GB, free: 12.27 MB / 446.1 MB Notification: Performance of SimCode: time 9.92e-07/0.383, allocations: 0 / 0.599 GB, free: 12.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05612/0.4391, allocations: 15.15 MB / 0.6138 GB, free: 13.35 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.03, allocations: 3.438 kB / 0.6138 GB, free: 13.35 MB / 462.1 MB " [Timeout remaining time 647] (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: 16.428325781947933]