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.00117/0.00117, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00545/0.00545, allocations: 160.5 kB / 24.69 MB, free: 8.898 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.9002/0.9002, allocations: 177.2 MB / 205 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2578/0.2578, allocations: 32.8 MB / 294.2 MB, free: 1.199 MB / 266.7 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: translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") translateModel(ModelicaTest.Translational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|damper.s_rel|elastoGap.s_rel|elastoGap.v_rel|position.s|position.v|position1.s|position1.v|position2.s|position2.v|relativeStates.s_rel|relativeStates.v_rel|slidingMass.s|slidingMass.v|springDamper.s_rel|springDamper.v_rel",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 440.8 MB, free: 3.777 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.848e-05/3.064e-05, allocations: 6.219 kB / 440.8 MB, free: 3.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.2111/0.2111, allocations: 3.777 MB / 444.6 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2134, allocations: 1.131 MB / 445.7 MB, free: 43.82 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000306/0.2137, allocations: 19.81 kB / 445.8 MB, free: 43.81 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002073/0.2139, allocations: 102.3 kB / 445.9 MB, free: 43.75 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003795/0.2143, allocations: 220.9 kB / 446.1 MB, free: 43.66 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006792/0.215, allocations: 242.8 kB / 446.3 MB, free: 43.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.2155, allocations: 0.8252 MB / 447.1 MB, free: 43.42 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000278/0.2158, allocations: 151.6 kB / 447.3 MB, free: 43.4 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.2164, allocations: 470.2 kB / 447.7 MB, free: 43.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.2166, allocations: 262.2 kB / 448 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.648e-05/0.2167, allocations: 59.53 kB / 448.1 MB, free: 43.18 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.2168, allocations: 94.7 kB / 448.1 MB, free: 43.17 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.056e-05/0.2169, allocations: 150 kB / 448.3 MB, free: 43.08 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.217, allocations: 243.4 kB / 448.5 MB, free: 43 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005697/0.2176, allocations: 0.8015 MB / 449.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.2176, allocations: 0 / 449.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2176, allocations: 0 / 449.3 MB, free: 42.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.2176, allocations: 0 / 449.3 MB, free: 42.73 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.001155/0.2188, allocations: 0.9582 MB / 450.3 MB, free: 42.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.2188, allocations: 8.469 kB / 450.3 MB, free: 42.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003572/0.2192, allocations: 144 kB / 450.4 MB, free: 42.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.2196, allocations: 356.1 kB / 450.8 MB, free: 41.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.686e-05/0.2196, allocations: 44.72 kB / 450.8 MB, free: 41.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.07e-05/0.2197, allocations: 72.78 kB / 450.9 MB, free: 41.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.2204, allocations: 0.623 MB / 451.5 MB, free: 41.48 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.2204, allocations: 14.89 kB / 451.5 MB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.336e-05/0.2204, allocations: 29.41 kB / 451.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2205, allocations: 14.44 kB / 451.6 MB, free: 41.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005869/0.221, allocations: 0.5093 MB / 452.1 MB, free: 41.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.2226, allocations: 1.913 MB / 454 MB, free: 39.98 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007386/0.2234, allocations: 0.6551 MB / 454.7 MB, free: 39.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.2237, allocations: 306.5 kB / 455 MB, free: 39.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000106/0.2238, allocations: 29.73 kB / 455 MB, free: 39.49 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.2238, allocations: 49.06 kB / 455 MB, free: 39.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=83): time 2.625e-06/0.2238, allocations: 0 / 455 MB, free: 39.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=116): time 0.00413/0.228, allocations: 3.933 MB / 459 MB, free: 37.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.228, allocations: 226.5 kB / 459.2 MB, free: 36.95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002583/0.2283, allocations: 395.5 kB / 459.6 MB, free: 36.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.2283, allocations: 40.83 kB / 459.6 MB, free: 36.71 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.2284, allocations: 284.6 kB / 459.9 MB, free: 36.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.2285, allocations: 425.1 kB / 460.3 MB, free: 36.14 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.2287, allocations: 179.8 kB / 460.5 MB, free: 36.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.663e-05/0.2288, allocations: 390.9 kB / 460.9 MB, free: 35.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.2291, allocations: 311.5 kB / 461.2 MB, free: 35.61 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.2295, allocations: 498.5 kB / 461.7 MB, free: 35.31 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007501/0.2302, allocations: 0.8651 MB / 462.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.2302, allocations: 6.125 kB / 462.5 MB, free: 34.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0009327/0.2311, allocations: 0.9937 MB / 463.5 MB, free: 34.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2312, allocations: 9.688 kB / 463.5 MB, free: 34.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2312, allocations: 13.12 kB / 463.5 MB, free: 34.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.2312, allocations: 13.53 kB / 463.6 MB, free: 34.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.2317, allocations: 283.7 kB / 463.8 MB, free: 34.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.2317, allocations: 13.97 kB / 463.8 MB, free: 34.39 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.232, allocations: 45.38 kB / 463.9 MB, free: 34.38 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.232, allocations: 37.16 kB / 463.9 MB, free: 34.37 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.0001929/0.2322, allocations: 233.4 kB / 464.2 MB, free: 34.18 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.2323, allocations: 84.34 kB / 464.2 MB, free: 34.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.2326, allocations: 217.5 kB / 464.5 MB, free: 34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/0.2326, allocations: 20.12 kB / 464.5 MB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.057e-05/0.2326, allocations: 3.375 kB / 464.5 MB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.006e-06/0.2326, allocations: 6.75 kB / 464.5 MB, free: 33.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001911/0.2345, allocations: 2.057 MB / 466.5 MB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.2345, allocations: 3.531 kB / 466.5 MB, free: 32.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.235, allocations: 252.2 kB / 466.8 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.235, allocations: 9.75 kB / 466.8 MB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.2351, allocations: 29.25 kB / 466.8 MB, free: 32.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.2351, allocations: 10.94 kB / 466.8 MB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.2351, allocations: 8.406 kB / 466.8 MB, free: 32.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.2364, allocations: 1.882 MB / 468.7 MB, free: 31.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.2366, allocations: 130.8 kB / 468.9 MB, free: 31.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.298e-05/0.2366, allocations: 21.59 kB / 468.9 MB, free: 31.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003047/0.2369, allocations: 38.92 kB / 468.9 MB, free: 31.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.237, allocations: 88.25 kB / 469 MB, free: 31.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.2371, allocations: 41.14 kB / 469 MB, free: 31.56 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001758/0.2373, allocations: 268.1 kB / 469.3 MB, free: 31.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2373, allocations: 0 / 469.3 MB, free: 31.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000586/0.2378, allocations: 199.3 kB / 469.5 MB, free: 31.39 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.0001621/0.238, allocations: 133.8 kB / 469.6 MB, free: 31.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009062/0.2389, allocations: 0.7972 MB / 470.4 MB, free: 31.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.2389, allocations: 0 / 470.4 MB, free: 31.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.2394, allocations: 460 kB / 470.9 MB, free: 30.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008202/0.2402, allocations: 151.1 kB / 471 MB, free: 30.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002005/0.2422, allocations: 1.936 MB / 473 MB, free: 29.6 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.2424, allocations: 359.3 kB / 473.3 MB, free: 29.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.2426, allocations: 76.78 kB / 473.4 MB, free: 29.48 MB / 410.7 MB Notification: Performance of SimCode: time 2.635e-06/0.2426, allocations: 0 / 473.4 MB, free: 29.48 MB / 410.7 MB Notification: Performance of Templates: time 0.01227/0.2549, allocations: 9.631 MB / 483 MB, free: 28.41 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (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 & ./ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Translational/AllComponents/AllComponents.csv","/var/lib/jenkins/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: 5.6534015303477645]