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.001787/0.001787, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002108/0.002108, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.484/1.484, allocations: 230.6 MB / 257.5 MB, free: 8.027 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.2572/0.2572, allocations: 46.93 MB / 360.9 MB, free: 4.273 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Translational.AllComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Translational_AllComponents",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002061/0.002061, allocations: 68.12 kB / 0.4962 GB, free: 7.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3181, allocations: 66.03 MB / 0.5606 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.00577/0.3239, allocations: 4.194 MB / 0.5647 GB, free: 272 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002304/0.3262, allocations: 1.192 MB / 0.5659 GB, free: 15.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002751/0.3264, allocations: 23.81 kB / 0.5659 GB, free: 15.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002799/0.3267, allocations: 98.95 kB / 0.566 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004677/0.3272, allocations: 214.1 kB / 0.5662 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.3278, allocations: 223.6 kB / 0.5664 GB, free: 14.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008845/0.3287, allocations: 0.7978 MB / 0.5672 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003148/0.329, allocations: 169.9 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004679/0.3294, allocations: 334.8 kB / 0.5677 GB, free: 13.22 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004519/0.3299, allocations: 342.4 kB / 0.568 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 8.844e-05/0.33, allocations: 56 kB / 0.5681 GB, free: 12.83 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000182/0.3302, allocations: 95.98 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001469/0.3303, allocations: 151.4 kB / 0.5683 GB, free: 12.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003327/0.3307, allocations: 354.2 kB / 0.5686 GB, free: 12.24 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000889/0.3315, allocations: 0.7895 MB / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.3315, allocations: 0 / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.3315, allocations: 0 / 0.5694 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3316, allocations: 4 kB / 0.5694 GB, free: 11.45 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.001904/0.3335, allocations: 0.9564 MB / 0.5704 GB, free: 10.46 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.3335, allocations: 15.97 kB / 0.5704 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001141/0.3336, allocations: 94.7 kB / 0.5705 GB, free: 10.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006592/0.3343, allocations: 144.3 kB / 0.5706 GB, free: 10.2 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.3349, allocations: 368.1 kB / 0.5709 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.3349, allocations: 45.69 kB / 0.571 GB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001206/0.335, allocations: 68.08 kB / 0.5711 GB, free: 9.699 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.3362, allocations: 0.6155 MB / 0.5717 GB, free: 9.055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.634e-05/0.3362, allocations: 11.95 kB / 0.5717 GB, free: 9.043 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.108e-05/0.3362, allocations: 24 kB / 0.5717 GB, free: 9.02 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.49e-05/0.3363, allocations: 12 kB / 0.5717 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.3374, allocations: 0.5218 MB / 0.5722 GB, free: 8.492 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/0.3408, allocations: 2.117 MB / 0.5743 GB, free: 6.258 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001284/0.3421, allocations: 0.6609 MB / 0.5749 GB, free: 5.531 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006007/0.3427, allocations: 316.9 kB / 0.5752 GB, free: 5.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000114/0.3428, allocations: 16.73 kB / 0.5752 GB, free: 5.188 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/0.3428, allocations: 54.92 kB / 0.5753 GB, free: 5.125 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.885e-06/0.3428, allocations: 0 / 0.5753 GB, free: 5.125 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.007939/0.3508, allocations: 3.942 MB / 0.5791 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/0.3509, allocations: 226.2 kB / 0.5794 GB, free: 0.7148 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004433/0.3514, allocations: 385.9 kB / 0.5797 GB, free: 336 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.3514, allocations: 49.77 kB / 0.5798 GB, free: 280 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.3517, allocations: 285.6 kB / 0.58 GB, free: 15.98 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.352, allocations: 432.2 kB / 0.5805 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002575/0.3523, allocations: 178.9 kB / 0.5806 GB, free: 15.38 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.3525, allocations: 382.8 kB / 0.581 GB, free: 14.99 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000632/0.3531, allocations: 310.4 kB / 0.5813 GB, free: 14.69 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008046/0.3539, allocations: 0.5004 MB / 0.5818 GB, free: 14.12 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/0.3554, allocations: 0.8478 MB / 0.5826 GB, free: 13.21 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.3554, allocations: 4 kB / 0.5826 GB, free: 13.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001812/0.3572, allocations: 1.004 MB / 0.5836 GB, free: 12.2 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.3572, allocations: 8 kB / 0.5836 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.3572, allocations: 4 kB / 0.5836 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/0.3573, allocations: 12 kB / 0.5836 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.3583, allocations: 279.6 kB / 0.5839 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/0.3583, allocations: 15.94 kB / 0.5839 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004343/0.3588, allocations: 39.97 kB / 0.5839 GB, free: 11.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.199e-05/0.3588, allocations: 44.09 kB / 0.584 GB, free: 11.8 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.0003318/0.3592, allocations: 241.4 kB / 0.5842 GB, free: 11.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002251/0.3594, allocations: 79.53 kB / 0.5843 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004615/0.3599, allocations: 215 kB / 0.5845 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/0.3599, allocations: 16 kB / 0.5845 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.3599, allocations: 0 / 0.5845 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.3599, allocations: 11.97 kB / 0.5845 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/0.3637, allocations: 2.296 MB / 0.5868 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.739e-06/0.3637, allocations: 8.219 kB / 0.5868 GB, free: 8.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/0.3647, allocations: 251.7 kB / 0.587 GB, free: 8.586 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-05/0.3648, allocations: 8 kB / 0.587 GB, free: 8.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-05/0.3648, allocations: 31.98 kB / 0.587 GB, free: 8.547 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/0.3648, allocations: 8 kB / 0.5871 GB, free: 8.539 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/0.3648, allocations: 7.938 kB / 0.5871 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002567/0.3674, allocations: 1.891 MB / 0.5889 GB, free: 6.605 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.3677, allocations: 131.4 kB / 0.589 GB, free: 6.477 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.541e-05/0.3678, allocations: 28 kB / 0.5891 GB, free: 6.449 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.3684, allocations: 39.97 kB / 0.5891 GB, free: 6.41 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/0.3686, allocations: 88.39 kB / 0.5892 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.011e-05/0.3686, allocations: 39.98 kB / 0.5892 GB, free: 6.285 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.3689, allocations: 263.1 kB / 0.5895 GB, free: 6.027 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3689, allocations: 4 kB / 0.5895 GB, free: 6.023 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0008809/0.3698, allocations: 192 kB / 0.5897 GB, free: 5.836 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.003075/0.3729, allocations: 2.474 MB / 0.5921 GB, free: 3.309 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001656/0.3746, allocations: 0.7927 MB / 0.5928 GB, free: 2.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3746, allocations: 4 kB / 0.5928 GB, free: 2.516 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000814/0.3754, allocations: 460 kB / 0.5933 GB, free: 2.066 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.3767, allocations: 143.4 kB / 0.5934 GB, free: 1.93 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01082/0.3875, allocations: 7.299 MB / 0.6006 GB, free: 10.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.3882, allocations: 0.9557 MB / 0.6015 GB, free: 9.328 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004423/0.3886, allocations: 102 kB / 0.6016 GB, free: 9.227 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004215/0.389, allocations: 271.3 kB / 0.6018 GB, free: 8.961 MB / 446.1 MB Notification: Performance of SimCode: time 1.623e-06/0.389, allocations: 0 / 0.6018 GB, free: 8.961 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05298/0.442, allocations: 15.11 MB / 0.6166 GB, free: 10.06 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.73, allocations: 8 kB / 0.6166 GB, free: 10.05 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: 15.958938081981614]