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.001426/0.001426, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001505/0.001505, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 7.766 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.2384/0.2384, allocations: 46.97 MB / 361.7 MB, free: 4.016 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.002324/0.002324, allocations: 60.05 kB / 0.4969 GB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3273, allocations: 66.04 MB / 0.5613 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005684/0.333, allocations: 3.754 MB / 0.565 GB, free: 488 kB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002485/0.3355, allocations: 1.141 MB / 0.5661 GB, free: 15.33 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004861/0.336, allocations: 23.81 kB / 0.5661 GB, free: 15.31 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003621/0.3363, allocations: 98.95 kB / 0.5662 GB, free: 15.21 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006662/0.337, allocations: 206.1 kB / 0.5664 GB, free: 15.01 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007547/0.3378, allocations: 235.6 kB / 0.5667 GB, free: 14.78 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001111/0.3389, allocations: 0.8016 MB / 0.5674 GB, free: 13.97 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003574/0.3392, allocations: 165.9 kB / 0.5676 GB, free: 13.81 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005833/0.3398, allocations: 322.9 kB / 0.5679 GB, free: 13.49 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005623/0.3404, allocations: 354.4 kB / 0.5682 GB, free: 13.14 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001337/0.3405, allocations: 56 kB / 0.5683 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002422/0.3408, allocations: 91.98 kB / 0.5684 GB, free: 13 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000161/0.3409, allocations: 147.5 kB / 0.5685 GB, free: 12.86 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003848/0.3413, allocations: 298.5 kB / 0.5688 GB, free: 12.56 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009866/0.3423, allocations: 0.7935 MB / 0.5696 GB, free: 11.77 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3423, allocations: 4 kB / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.3423, allocations: 0 / 0.5696 GB, free: 11.76 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.3423, allocations: 0 / 0.5696 GB, free: 11.76 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.002119/0.3444, allocations: 0.9525 MB / 0.5705 GB, free: 10.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/0.3445, allocations: 12.03 kB / 0.5705 GB, free: 10.77 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.777e-05/0.3445, allocations: 17.5 kB / 0.5706 GB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001294/0.3446, allocations: 106.6 kB / 0.5707 GB, free: 10.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007333/0.3454, allocations: 148.3 kB / 0.5708 GB, free: 10.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006364/0.346, allocations: 368.2 kB / 0.5711 GB, free: 10.1 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.3461, allocations: 41.69 kB / 0.5712 GB, free: 10.06 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001248/0.3462, allocations: 71.89 kB / 0.5713 GB, free: 9.992 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001265/0.3475, allocations: 0.6077 MB / 0.5718 GB, free: 9.355 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/0.3475, allocations: 11.94 kB / 0.5719 GB, free: 9.344 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.3476, allocations: 28 kB / 0.5719 GB, free: 9.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.3476, allocations: 16 kB / 0.5719 GB, free: 9.301 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.3487, allocations: 0.5112 MB / 0.5724 GB, free: 8.793 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00342/0.3522, allocations: 1.996 MB / 0.5743 GB, free: 6.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001314/0.3535, allocations: 0.6538 MB / 0.575 GB, free: 5.961 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006305/0.3541, allocations: 307.2 kB / 0.5753 GB, free: 5.641 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001087/0.3542, allocations: 24.67 kB / 0.5753 GB, free: 5.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/0.3543, allocations: 47 kB / 0.5753 GB, free: 5.562 MB / 414.1 MB Notification: Performance of pre-optimization done (n=83): time 2.915e-06/0.3543, allocations: 0 / 0.5753 GB, free: 5.562 MB / 414.1 MB Notification: Performance of matching and sorting (n=116): time 0.008349/0.3626, allocations: 3.952 MB / 0.5792 GB, free: 1.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/0.3627, allocations: 226.2 kB / 0.5794 GB, free: 1.145 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004635/0.3632, allocations: 385.9 kB / 0.5798 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.3633, allocations: 41.7 kB / 0.5798 GB, free: 0.707 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.3635, allocations: 293.5 kB / 0.5801 GB, free: 424 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000372/0.3639, allocations: 432.2 kB / 0.5805 GB, free: 15.98 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000289/0.3642, allocations: 186.9 kB / 0.5807 GB, free: 15.8 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002/0.3644, allocations: 374.8 kB / 0.5811 GB, free: 15.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006742/0.365, allocations: 314.5 kB / 0.5814 GB, free: 15.12 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008719/0.3659, allocations: 0.5004 MB / 0.5818 GB, free: 14.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.3675, allocations: 0.8546 MB / 0.5827 GB, free: 13.63 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.3675, allocations: 4 kB / 0.5827 GB, free: 13.62 MB / 430.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001986/0.3695, allocations: 0.9961 MB / 0.5837 GB, free: 12.62 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.3695, allocations: 8 kB / 0.5837 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.3695, allocations: 4 kB / 0.5837 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.749e-05/0.3696, allocations: 12 kB / 0.5837 GB, free: 12.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.3706, allocations: 275.6 kB / 0.5839 GB, free: 12.33 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.954e-05/0.3707, allocations: 12.44 kB / 0.584 GB, free: 12.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005029/0.3712, allocations: 51.97 kB / 0.584 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.944e-05/0.3713, allocations: 36 kB / 0.584 GB, free: 12.23 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.0003904/0.3717, allocations: 241.4 kB / 0.5843 GB, free: 11.98 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003042/0.372, allocations: 79.53 kB / 0.5843 GB, free: 11.91 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005093/0.3725, allocations: 230.9 kB / 0.5846 GB, free: 11.68 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.625e-05/0.3725, allocations: 12 kB / 0.5846 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.3725, allocations: 64 / 0.5846 GB, free: 11.66 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.901e-05/0.3725, allocations: 16.08 kB / 0.5846 GB, free: 11.65 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/0.3767, allocations: 2.148 MB / 0.5867 GB, free: 9.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/0.3767, allocations: 3.938 kB / 0.5867 GB, free: 9.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.3778, allocations: 247.7 kB / 0.5869 GB, free: 9.168 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.229e-05/0.3779, allocations: 8 kB / 0.5869 GB, free: 9.16 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/0.3779, allocations: 23.98 kB / 0.587 GB, free: 9.137 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.644e-05/0.378, allocations: 11.94 kB / 0.587 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/0.378, allocations: 4.281 kB / 0.587 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002844/0.3808, allocations: 1.883 MB / 0.5888 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.3812, allocations: 135.4 kB / 0.5889 GB, free: 7.07 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3813, allocations: 24 kB / 0.589 GB, free: 7.047 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006472/0.3819, allocations: 35.98 kB / 0.589 GB, free: 7.012 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001913/0.3821, allocations: 92.38 kB / 0.5891 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/0.3822, allocations: 35.98 kB / 0.5891 GB, free: 6.883 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003345/0.3825, allocations: 267.1 kB / 0.5894 GB, free: 6.621 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3825, allocations: 0 / 0.5894 GB, free: 6.621 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009504/0.3835, allocations: 196 kB / 0.5896 GB, free: 6.43 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.003299/0.3868, allocations: 2.473 MB / 0.592 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.3885, allocations: 0.7966 MB / 0.5928 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3885, allocations: 0.875 kB / 0.5928 GB, free: 3.113 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008915/0.3894, allocations: 463.4 kB / 0.5932 GB, free: 2.66 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.3907, allocations: 146.6 kB / 0.5933 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/0.4019, allocations: 7.297 MB / 0.6005 GB, free: 10.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.4024, allocations: 357.1 kB / 0.6008 GB, free: 10.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004393/0.4028, allocations: 98 kB / 0.6009 GB, free: 10.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004408/0.4032, allocations: 271.3 kB / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of SimCode: time 9.82e-07/0.4032, allocations: 0 / 0.6012 GB, free: 10.17 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04467/0.4479, allocations: 15.11 MB / 0.6159 GB, free: 11.33 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.67/13.11, allocations: 11.25 kB / 0.6159 GB, free: 11.33 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.541790356044658]