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.001288/0.001288, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001404/0.001404, allocations: 165.1 kB / 23.95 MB, free: 4.168 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.453/1.453, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.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.223/0.223, allocations: 32.81 MB / 293.5 MB, free: 52 kB / 270.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: 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 1.293e-06/1.293e-06, allocations: 0 / 440.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.468e-05/2.597e-05, allocations: 2.281 kB / 440.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005269/0.005295, allocations: 3.759 MB / 443.8 MB, free: 4.418 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002382/0.007677, allocations: 1.149 MB / 445 MB, free: 3.266 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.008006, allocations: 19.88 kB / 445 MB, free: 3.246 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002595/0.008266, allocations: 102.9 kB / 445.1 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004822/0.008748, allocations: 217.9 kB / 445.3 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006203/0.009368, allocations: 231.5 kB / 445.5 MB, free: 2.703 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009497/0.01032, allocations: 0.8402 MB / 446.4 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003032/0.01062, allocations: 152.1 kB / 446.5 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006417/0.01126, allocations: 478.9 kB / 447 MB, free: 1.234 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004191/0.01168, allocations: 255.2 kB / 447.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.01178, allocations: 60 kB / 447.3 MB, free: 0.9258 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001949/0.01198, allocations: 87.98 kB / 447.4 MB, free: 0.8398 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.01215, allocations: 151.4 kB / 447.5 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002924/0.01244, allocations: 243.4 kB / 447.8 MB, free: 464 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1755/0.1879, allocations: 0.8054 MB / 448.6 MB, free: 16.81 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.735e-06/0.1879, allocations: 0 / 448.6 MB, free: 16.81 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1879, allocations: 0 / 448.6 MB, free: 16.81 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.733e-05/0.1879, allocations: 1.25 kB / 448.6 MB, free: 16.81 MB / 366.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.002895/0.1908, allocations: 0.9425 MB / 449.5 MB, free: 16.29 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.1909, allocations: 10 kB / 449.5 MB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009501/0.1918, allocations: 148.7 kB / 449.7 MB, free: 16.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008911/0.1927, allocations: 359.8 kB / 450 MB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.123e-05/0.1928, allocations: 47.47 kB / 450.1 MB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001756/0.193, allocations: 68.75 kB / 450.1 MB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/0.1945, allocations: 0.6119 MB / 450.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.62e-05/0.1945, allocations: 16.84 kB / 450.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.1946, allocations: 25.59 kB / 450.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.702e-05/0.1946, allocations: 21.47 kB / 450.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/0.1958, allocations: 0.5076 MB / 451.3 MB, free: 15.92 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003382/0.1992, allocations: 1.921 MB / 453.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/0.2004, allocations: 0.6531 MB / 453.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006266/0.2011, allocations: 313.6 kB / 454.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.2012, allocations: 20.86 kB / 454.2 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.2012, allocations: 50.58 kB / 454.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.346e-06/0.2012, allocations: 4 kB / 454.3 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.008752/0.21, allocations: 3.933 MB / 458.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.116e-05/0.2101, allocations: 227.1 kB / 458.4 MB, free: 12.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005427/0.2106, allocations: 391.7 kB / 458.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.889e-05/0.2107, allocations: 45.45 kB / 458.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001879/0.2109, allocations: 281.5 kB / 459.1 MB, free: 11.71 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/0.2112, allocations: 428.4 kB / 459.5 MB, free: 11.38 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003016/0.2115, allocations: 187.5 kB / 459.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.2116, allocations: 387.2 kB / 460.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007195/0.2123, allocations: 308 kB / 460.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.2132, allocations: 0.4964 MB / 460.9 MB, free: 10.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.2147, allocations: 0.8636 MB / 461.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.2148, allocations: 5.375 kB / 461.8 MB, free: 10.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002137/0.2169, allocations: 0.9927 MB / 462.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.691e-05/0.2169, allocations: 8.062 kB / 462.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.2169, allocations: 6.219 kB / 462.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.735e-05/0.217, allocations: 10.47 kB / 462.8 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2181, allocations: 277.1 kB / 463.1 MB, free: 9.711 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.504e-05/0.2181, allocations: 19.92 kB / 463.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006199/0.2187, allocations: 45.14 kB / 463.1 MB, free: 9.688 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001143/0.2188, allocations: 40.45 kB / 463.2 MB, free: 9.68 MB / 366.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.0003727/0.2192, allocations: 237.3 kB / 463.4 MB, free: 9.5 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002818/0.2195, allocations: 78.62 kB / 463.5 MB, free: 9.461 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.22, allocations: 221.4 kB / 463.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.817e-05/0.22, allocations: 12.72 kB / 463.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.408e-05/0.22, allocations: 11.03 kB / 463.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.166e-05/0.22, allocations: 12.09 kB / 463.7 MB, free: 9.324 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003747/0.2238, allocations: 2.069 MB / 465.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.2238, allocations: 3.375 kB / 465.8 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.2249, allocations: 244.5 kB / 466 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.93e-05/0.2249, allocations: 7.562 kB / 466 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.159e-05/0.225, allocations: 30.73 kB / 466.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-05/0.225, allocations: 12.22 kB / 466.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.225, allocations: 5.125 kB / 466.1 MB, free: 8.168 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002479/0.2275, allocations: 1.881 MB / 468 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.2278, allocations: 128.8 kB / 468.1 MB, free: 6.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.228, allocations: 25.95 kB / 468.1 MB, free: 6.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006969/0.2287, allocations: 38.81 kB / 468.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/0.2289, allocations: 91.33 kB / 468.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.783e-05/0.2289, allocations: 36.14 kB / 468.3 MB, free: 6.945 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002944/0.2292, allocations: 266.1 kB / 468.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2292, allocations: 0 / 468.5 MB, free: 6.812 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001024/0.2303, allocations: 199.8 kB / 468.7 MB, free: 6.777 MB / 366.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.0001918/0.2304, allocations: 134.6 kB / 468.9 MB, free: 6.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.2321, allocations: 0.7918 MB / 469.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.2321, allocations: 0 / 469.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008625/0.233, allocations: 466 kB / 470.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001364/0.2344, allocations: 149 kB / 470.3 MB, free: 6.297 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002967/0.2373, allocations: 1.903 MB / 472.2 MB, free: 5.086 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000395/0.2377, allocations: 357.2 kB / 472.5 MB, free: 4.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004332/0.2382, allocations: 107.1 kB / 472.6 MB, free: 4.949 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002104/0.2384, allocations: 67.47 kB / 472.7 MB, free: 4.934 MB / 366.1 MB Notification: Performance of SimCode: time 7.71e-07/0.2384, allocations: 2.844 kB / 472.7 MB, free: 4.934 MB / 366.1 MB Notification: Performance of Templates: time 0.01308/0.2514, allocations: 7.313 MB / 480 MB, free: 1.32 MB / 366.1 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: 4.975853011012077]