Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001178/0.001178, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002013/0.003191, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001667/0.002951, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.014/1.014, allocations: 177.4 MB / 189.9 MB, free: 4.832 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09756/1.112, allocations: 53.86 MB / 243.7 MB, free: 14.91 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2671/0.2671, allocations: 34.87 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02233/0.2894, allocations: 13.23 MB / 292.6 MB, free: 6.465 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 293.8 MB, free: 5.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.023e-05, allocations: 8.562 kB / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.003544/0.003564, allocations: 4.1 MB / 297.9 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.005458, allocations: 1.208 MB / 299.2 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002797/0.005737, allocations: 23.81 kB / 299.2 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001696/0.005907, allocations: 98.91 kB / 299.3 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.00626, allocations: 214 kB / 299.5 MB, free: 15.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004313/0.006691, allocations: 239.4 kB / 299.7 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006271/0.007318, allocations: 0.8293 MB / 300.5 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002341/0.007553, allocations: 166 kB / 300.7 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005242/0.008077, allocations: 0.5273 MB / 301.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.008334, allocations: 259.2 kB / 301.5 MB, free: 13.54 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.302e-05/0.008397, allocations: 60 kB / 301.5 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.008543, allocations: 87.97 kB / 301.6 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.832e-05/0.008622, allocations: 115.5 kB / 301.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001541/0.008776, allocations: 207.6 kB / 301.9 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000446/0.009222, allocations: 0.498 MB / 302.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.589e-05/0.009238, allocations: 0 / 302.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.00924, allocations: 3.984 kB / 302.4 MB, free: 12.57 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.00926, allocations: 0 / 302.4 MB, free: 12.57 MB / 298.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.001083/0.01034, allocations: 1.065 MB / 303.5 MB, free: 11.48 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.867e-05/0.01037, allocations: 8.922 kB / 303.5 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003471/0.01072, allocations: 237.9 kB / 303.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.01108, allocations: 319.5 kB / 304.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.212e-05/0.01111, allocations: 49.69 kB / 304.1 MB, free: 10.83 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.01118, allocations: 68.28 kB / 304.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004539/0.01163, allocations: 471.5 kB / 304.6 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.371e-05/0.01165, allocations: 16.06 kB / 304.7 MB, free: 10.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.01168, allocations: 23.94 kB / 304.7 MB, free: 10.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.153e-05/0.01169, allocations: 16 kB / 304.7 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002564/0.01195, allocations: 196 kB / 304.9 MB, free: 10.03 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.01333, allocations: 1.59 MB / 306.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004432/0.01377, allocations: 452.5 kB / 306.9 MB, free: 7.852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.01391, allocations: 155.4 kB / 307.1 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.914e-05/0.01398, allocations: 24.44 kB / 307.1 MB, free: 7.656 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.644e-05/0.01401, allocations: 47.06 kB / 307.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=83): time 2.394e-06/0.01401, allocations: 0 / 307.1 MB, free: 7.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=116): time 0.003092/0.0171, allocations: 2.76 MB / 309.9 MB, free: 4.656 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.01718, allocations: 226.2 kB / 310.1 MB, free: 4.387 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/0.01737, allocations: 363.2 kB / 310.5 MB, free: 4.016 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.602e-05/0.0174, allocations: 49.64 kB / 310.5 MB, free: 3.961 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.008e-05/0.01749, allocations: 230.4 kB / 310.8 MB, free: 3.73 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001887/0.01768, allocations: 432.2 kB / 311.2 MB, free: 3.305 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.01784, allocations: 182.8 kB / 311.4 MB, free: 3.121 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001023/0.01794, allocations: 398.6 kB / 311.7 MB, free: 2.723 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.01806, allocations: 106.6 kB / 311.8 MB, free: 2.617 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002035/0.01826, allocations: 300.5 kB / 312.1 MB, free: 2.258 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004048/0.01866, allocations: 0.4966 MB / 312.6 MB, free: 1.695 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.01867, allocations: 4 kB / 312.6 MB, free: 1.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0005193/0.01919, allocations: 0.519 MB / 313.2 MB, free: 1.164 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.0192, allocations: 4 kB / 313.2 MB, free: 1.16 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.01922, allocations: 11.98 kB / 313.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.01923, allocations: 8 kB / 313.2 MB, free: 1.141 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/0.01987, allocations: 341.1 kB / 313.5 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.01988, allocations: 12.19 kB / 313.5 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000173/0.02006, allocations: 39.98 kB / 313.6 MB, free: 0.7578 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.895e-05/0.0201, allocations: 31.98 kB / 313.6 MB, free: 0.7266 MB / 298.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.0001428/0.02024, allocations: 176.4 kB / 313.8 MB, free: 0.543 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.02037, allocations: 91.86 kB / 313.9 MB, free: 464 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.02054, allocations: 166.9 kB / 314 MB, free: 288 kB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.02055, allocations: 12 kB / 314 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.02055, allocations: 4 kB / 314 MB, free: 272 kB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.02056, allocations: 7.984 kB / 314 MB, free: 264 kB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001463/0.02202, allocations: 1.42 MB / 315.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.02203, allocations: 4.281 kB / 315.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006102/0.02264, allocations: 299.6 kB / 315.8 MB, free: 14.48 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.02278, allocations: 79.52 kB / 315.8 MB, free: 14.4 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.616e-06/0.02279, allocations: 11.94 kB / 315.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.02282, allocations: 23.98 kB / 315.9 MB, free: 14.37 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.02282, allocations: 11.94 kB / 315.9 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.02283, allocations: 8.062 kB / 315.9 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007549/0.02358, allocations: 1.231 MB / 317.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.516e-05/0.02364, allocations: 27.98 kB / 317.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.0239, allocations: 31.94 kB / 317.2 MB, free: 13.03 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.148e-05/0.02399, allocations: 92.38 kB / 317.3 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.02402, allocations: 27.98 kB / 317.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 9.565e-05/0.02412, allocations: 148.6 kB / 317.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02412, allocations: 4 kB / 317.4 MB, free: 12.76 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00048/0.0246, allocations: 196 kB / 317.6 MB, free: 12.57 MB / 314.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.0001396/0.02474, allocations: 116.7 kB / 317.8 MB, free: 12.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004397/0.02518, allocations: 474.1 kB / 318.2 MB, free: 11.98 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.682e-05/0.02521, allocations: 14.62 kB / 318.2 MB, free: 11.96 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002175/0.02542, allocations: 278.3 kB / 318.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/0.02614, allocations: 216.4 kB / 318.7 MB, free: 11.49 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.0289, allocations: 1.515 MB / 320.2 MB, free: 9.895 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001363/0.02903, allocations: 181.2 kB / 320.4 MB, free: 9.699 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002658/0.0293, allocations: 94.05 kB / 320.5 MB, free: 9.605 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.0296, allocations: 201.3 kB / 320.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of SimCode: time 1.392e-06/0.0296, allocations: 0 / 320.7 MB, free: 9.406 MB / 314.7 MB Notification: Performance of Templates: time 0.01073/0.04033, allocations: 8.292 MB / 329 MB, free: 1.285 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9917191909626126]