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.00176/0.00176, allocations: 82.44 kB / 20.68 MB, free: 1.027 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.002238/0.002238, allocations: 168.8 kB / 23.95 MB, free: 4.16 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.611/1.611, allocations: 177.1 MB / 204.3 MB, free: 9.184 MB / 190.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.2127/0.2127, allocations: 34.3 MB / 295 MB, free: 14.57 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: 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.1.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.1.0_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 442.6 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.052e-05/3.236e-05, allocations: 2.281 kB / 442.6 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005555/0.005587, allocations: 3.782 MB / 446.4 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002563/0.00815, allocations: 1.133 MB / 447.6 MB, free: 500 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003553/0.008505, allocations: 23.81 kB / 447.6 MB, free: 476 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002735/0.008779, allocations: 98.95 kB / 447.7 MB, free: 376 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000491/0.00927, allocations: 221.9 kB / 447.9 MB, free: 152 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1981/0.2074, allocations: 232.5 kB / 448.1 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.2086, allocations: 0.8306 MB / 449 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000333/0.2089, allocations: 157.6 kB / 449.1 MB, free: 15.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006799/0.2096, allocations: 473.5 kB / 449.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004236/0.21, allocations: 258.7 kB / 449.8 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.2102, allocations: 57.62 kB / 449.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.2104, allocations: 85.5 kB / 450 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.2106, allocations: 155.8 kB / 450.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003055/0.2109, allocations: 240.7 kB / 450.4 MB, free: 14.99 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001111/0.212, allocations: 0.807 MB / 451.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.212, allocations: 0.9844 kB / 451.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.212, allocations: 0 / 451.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.337e-05/0.212, allocations: 3.75 kB / 451.2 MB, free: 14.91 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.002023/0.214, allocations: 0.947 MB / 452.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.2141, allocations: 9.125 kB / 452.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008139/0.2149, allocations: 149.6 kB / 452.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005378/0.2154, allocations: 357.8 kB / 452.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.862e-05/0.2155, allocations: 45.06 kB / 452.7 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/0.2156, allocations: 73.61 kB / 452.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001118/0.2167, allocations: 0.6218 MB / 453.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.74e-05/0.2167, allocations: 11.78 kB / 453.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.432e-05/0.2168, allocations: 25.84 kB / 453.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.2168, allocations: 17.94 kB / 453.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.218, allocations: 0.509 MB / 453.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00281/0.2208, allocations: 1.921 MB / 455.8 MB, free: 12.32 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.222, allocations: 0.6456 MB / 456.5 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005705/0.2225, allocations: 313.8 kB / 456.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.2226, allocations: 17.38 kB / 456.8 MB, free: 11.85 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.2227, allocations: 56.95 kB / 456.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.905e-06/0.2227, allocations: 0 / 456.9 MB, free: 11.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=116): time 0.007714/0.2304, allocations: 3.944 MB / 460.8 MB, free: 9.594 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.602e-05/0.2305, allocations: 223.4 kB / 461 MB, free: 9.344 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.2309, allocations: 391.5 kB / 461.4 MB, free: 9.156 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.56e-05/0.231, allocations: 47.03 kB / 461.5 MB, free: 9.109 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.2311, allocations: 283.1 kB / 461.7 MB, free: 8.875 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.2313, allocations: 432.3 kB / 462.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002561/0.2316, allocations: 179.9 kB / 462.3 MB, free: 8.441 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.2317, allocations: 386.4 kB / 462.7 MB, free: 8.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/0.2324, allocations: 308.7 kB / 463 MB, free: 8.004 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007137/0.2331, allocations: 0.4962 MB / 463.5 MB, free: 7.703 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.2344, allocations: 0.8592 MB / 464.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2344, allocations: 2.969 kB / 464.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.001769/0.2362, allocations: 1.003 MB / 465.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2362, allocations: 6.375 kB / 465.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.2362, allocations: 7.531 kB / 465.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/0.2363, allocations: 10.66 kB / 465.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/0.2373, allocations: 283.2 kB / 465.7 MB, free: 6.867 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.2373, allocations: 15.72 kB / 465.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/0.2378, allocations: 41.08 kB / 465.7 MB, free: 6.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/0.2379, allocations: 45.28 kB / 465.8 MB, free: 6.836 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.0002914/0.2381, allocations: 228.9 kB / 466 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.2384, allocations: 77.8 kB / 466.1 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004503/0.2388, allocations: 227.1 kB / 466.3 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.698e-05/0.2388, allocations: 13.12 kB / 466.3 MB, free: 6.484 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/0.2389, allocations: 6.156 kB / 466.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/0.2389, allocations: 7.328 kB / 466.3 MB, free: 6.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003538/0.2424, allocations: 2.056 MB / 468.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.2424, allocations: 3.906 kB / 468.4 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001127/0.2436, allocations: 250.3 kB / 468.6 MB, free: 5.355 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.2436, allocations: 12 kB / 468.6 MB, free: 5.352 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.828e-05/0.2436, allocations: 29.25 kB / 468.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.527e-05/0.2437, allocations: 11.89 kB / 468.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/0.2437, allocations: 4.312 kB / 468.7 MB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.2464, allocations: 1.879 MB / 470.6 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002991/0.2467, allocations: 132.7 kB / 470.7 MB, free: 4.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.533e-05/0.2468, allocations: 26.8 kB / 470.7 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.2473, allocations: 38.27 kB / 470.7 MB, free: 4.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002125/0.2475, allocations: 91.42 kB / 470.8 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-05/0.2476, allocations: 35.59 kB / 470.9 MB, free: 4.105 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002897/0.2479, allocations: 266.6 kB / 471.1 MB, free: 3.973 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2479, allocations: 4 kB / 471.1 MB, free: 3.969 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009126/0.2488, allocations: 195.9 kB / 471.3 MB, free: 3.938 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.0001789/0.249, allocations: 135.5 kB / 471.5 MB, free: 3.836 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001511/0.2505, allocations: 0.7968 MB / 472.3 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.2505, allocations: 1.312 kB / 472.3 MB, free: 3.629 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008197/0.2513, allocations: 462.4 kB / 472.7 MB, free: 3.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.2526, allocations: 145.7 kB / 472.8 MB, free: 3.449 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.2557, allocations: 1.908 MB / 474.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005185/0.2562, allocations: 357 kB / 475.1 MB, free: 2.117 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004745/0.2567, allocations: 105.8 kB / 475.2 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.2569, allocations: 66.44 kB / 475.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of SimCode: time 9.72e-07/0.2569, allocations: 1.219 kB / 475.3 MB, free: 2.078 MB / 366.1 MB Notification: Performance of Templates: time 0.01507/0.2719, allocations: 7.306 MB / 482.6 MB, free: 13.04 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 480] 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: 5.354400001466274]