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.000843/0.000843, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009778/0.0009778, allocations: 174 kB / 23.94 MB, free: 0.6172 MB / 18.57 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 0.9077/0.9077, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] 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.2545/0.2545, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 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 1.904e-06/1.904e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.107e-05/2.297e-05, allocations: 2.281 kB / 442.2 MB, free: 1.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.1995/0.1995, allocations: 3.775 MB / 445.9 MB, free: 42.46 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2009, allocations: 1.126 MB / 447.1 MB, free: 42.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.2011, allocations: 23.47 kB / 447.1 MB, free: 42.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001599/0.2012, allocations: 105.7 kB / 447.2 MB, free: 41.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000242/0.2015, allocations: 220.7 kB / 447.4 MB, free: 41.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003618/0.2019, allocations: 230.5 kB / 447.6 MB, free: 41.66 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004086/0.2023, allocations: 0.8318 MB / 448.5 MB, free: 41.23 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002052/0.2025, allocations: 157.9 kB / 448.6 MB, free: 41.15 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.2028, allocations: 467.3 kB / 449.1 MB, free: 40.97 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002022/0.203, allocations: 262.5 kB / 449.3 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.203, allocations: 57.22 kB / 449.4 MB, free: 40.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.2031, allocations: 89.78 kB / 449.5 MB, free: 40.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 6.166e-05/0.2032, allocations: 149.2 kB / 449.6 MB, free: 40.78 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001206/0.2033, allocations: 245.8 kB / 449.8 MB, free: 40.68 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004018/0.2037, allocations: 0.8114 MB / 450.7 MB, free: 40.36 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.2037, allocations: 0 / 450.7 MB, free: 40.36 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.2037, allocations: 0 / 450.7 MB, free: 40.36 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.2037, allocations: 0 / 450.7 MB, free: 40.36 MB / 410.7 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.0009368/0.2047, allocations: 0.9533 MB / 451.6 MB, free: 39.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.257e-05/0.2047, allocations: 8.844 kB / 451.6 MB, free: 39.73 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.846e-05/0.2048, allocations: 97.39 kB / 451.7 MB, free: 39.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003005/0.2051, allocations: 144.4 kB / 451.9 MB, free: 39.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.2054, allocations: 364.9 kB / 452.2 MB, free: 39.36 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.511e-05/0.2054, allocations: 47.34 kB / 452.3 MB, free: 39.33 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.671e-05/0.2055, allocations: 66.52 kB / 452.3 MB, free: 39.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005644/0.206, allocations: 0.6184 MB / 452.9 MB, free: 39.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.206, allocations: 19.02 kB / 453 MB, free: 39.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.2061, allocations: 25.02 kB / 453 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.2061, allocations: 14.25 kB / 453 MB, free: 39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005497/0.2066, allocations: 0.506 MB / 453.5 MB, free: 38.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00147/0.2081, allocations: 1.999 MB / 455.5 MB, free: 37.44 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.2088, allocations: 0.645 MB / 456.2 MB, free: 37.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.209, allocations: 316.7 kB / 456.5 MB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.153e-05/0.2091, allocations: 18.5 kB / 456.5 MB, free: 36.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.864e-05/0.2091, allocations: 58.16 kB / 456.5 MB, free: 36.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 2.795e-06/0.2092, allocations: 1.875 kB / 456.5 MB, free: 36.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.003799/0.213, allocations: 3.935 MB / 460.5 MB, free: 34.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.714e-05/0.213, allocations: 222.2 kB / 460.7 MB, free: 34.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.2132, allocations: 396.2 kB / 461.1 MB, free: 34.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/0.2132, allocations: 45.02 kB / 461.1 MB, free: 34.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/0.2133, allocations: 283.8 kB / 461.4 MB, free: 33.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.2134, allocations: 427.4 kB / 461.8 MB, free: 33.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001305/0.2136, allocations: 181.1 kB / 462 MB, free: 33.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.34e-05/0.2136, allocations: 381.9 kB / 462.4 MB, free: 33.14 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.2139, allocations: 306.4 kB / 462.7 MB, free: 33.05 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003827/0.2143, allocations: 0.5014 MB / 463.2 MB, free: 32.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007667/0.2151, allocations: 0.8672 MB / 464 MB, free: 32.25 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.2151, allocations: 2.969 kB / 464 MB, free: 32.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.000921/0.216, allocations: 0.9947 MB / 465 MB, free: 31.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.216, allocations: 13.53 kB / 465 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.216, allocations: 3.375 kB / 465 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.2161, allocations: 13.25 kB / 465.1 MB, free: 31.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004865/0.2165, allocations: 275.9 kB / 465.3 MB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2166, allocations: 19.73 kB / 465.3 MB, free: 31.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001895/0.2167, allocations: 41.61 kB / 465.4 MB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.2168, allocations: 48.06 kB / 465.4 MB, free: 31.8 MB / 410.7 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.0001609/0.2169, allocations: 233.2 kB / 465.7 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/0.2171, allocations: 78 kB / 465.7 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002159/0.2173, allocations: 226 kB / 466 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.2173, allocations: 12.81 kB / 466 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.2173, allocations: 0 / 466 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.2173, allocations: 6.766 kB / 466 MB, free: 31.43 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001847/0.2191, allocations: 2.148 MB / 468.1 MB, free: 30.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.2191, allocations: 7.719 kB / 468.1 MB, free: 30.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004992/0.2196, allocations: 242.1 kB / 468.4 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.2196, allocations: 10.25 kB / 468.4 MB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.099e-05/0.2197, allocations: 33.06 kB / 468.4 MB, free: 30.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.2197, allocations: 13.53 kB / 468.4 MB, free: 30.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.2197, allocations: 10.59 kB / 468.4 MB, free: 30.14 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.2209, allocations: 1.875 MB / 470.3 MB, free: 29.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001484/0.2211, allocations: 121.7 kB / 470.4 MB, free: 28.97 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.861e-05/0.2211, allocations: 28.66 kB / 470.5 MB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002959/0.2214, allocations: 45.61 kB / 470.5 MB, free: 28.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.754e-05/0.2215, allocations: 87.77 kB / 470.6 MB, free: 28.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.2216, allocations: 36.22 kB / 470.6 MB, free: 28.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.2217, allocations: 272.1 kB / 470.9 MB, free: 28.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2217, allocations: 0 / 470.9 MB, free: 28.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000516/0.2222, allocations: 198.2 kB / 471.1 MB, free: 28.74 MB / 410.7 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.001511/0.2237, allocations: 2.457 MB / 473.5 MB, free: 27.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008155/0.2246, allocations: 0.7938 MB / 474.3 MB, free: 26.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2246, allocations: 0 / 474.3 MB, free: 26.83 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004276/0.225, allocations: 463.2 kB / 474.8 MB, free: 26.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.2257, allocations: 150.4 kB / 474.9 MB, free: 26.63 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005431/0.2312, allocations: 6.985 MB / 481.9 MB, free: 22.36 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002896/0.2315, allocations: 363.6 kB / 482.3 MB, free: 22.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002645/0.2317, allocations: 107.7 kB / 482.4 MB, free: 22.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/0.232, allocations: 272.3 kB / 482.6 MB, free: 22.03 MB / 410.7 MB Notification: Performance of SimCode: time 1.132e-06/0.232, allocations: 0 / 482.6 MB, free: 22.03 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03065/0.2626, allocations: 15.28 MB / 497.9 MB, free: 19.82 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.929/7.192, allocations: 3.906 kB / 497.9 MB, free: 19.82 MB / 410.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/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: 9.335975148715079]