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.001464/0.001464, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002306/0.00377, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001663/0.001663, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002188/0.003851, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.207/1.207, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1451/1.352, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.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.3581/0.3581, allocations: 32.79 MB / 276.8 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04035/0.3984, allocations: 12.53 MB / 289.3 MB, free: 8.68 MB / 282.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.414e-06/2.414e-06, allocations: 0 / 290.6 MB, free: 7.68 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.176e-05, allocations: 4.375 kB / 290.6 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.005214/0.005246, allocations: 4.112 MB / 294.7 MB, free: 4.211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002607/0.007853, allocations: 1.195 MB / 295.9 MB, free: 3.012 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000329/0.008182, allocations: 23.81 kB / 295.9 MB, free: 2.988 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002394/0.008421, allocations: 102.9 kB / 296 MB, free: 2.887 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004431/0.008864, allocations: 229.9 kB / 296.2 MB, free: 2.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005683/0.009433, allocations: 223.5 kB / 296.5 MB, free: 2.441 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007459/0.01018, allocations: 0.8286 MB / 297.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.01049, allocations: 166 kB / 297.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006616/0.01115, allocations: 0.5234 MB / 298 MB, free: 0.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003329/0.01148, allocations: 267.2 kB / 298.2 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.023e-05/0.01157, allocations: 60 kB / 298.3 MB, free: 0.5977 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.01178, allocations: 87.98 kB / 298.4 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.01188, allocations: 111.6 kB / 298.5 MB, free: 412 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.01206, allocations: 199.6 kB / 298.7 MB, free: 212 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006356/0.0127, allocations: 0.5058 MB / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.062e-05/0.01273, allocations: 0 / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.01273, allocations: 0 / 299.2 MB, free: 15.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.104e-05/0.01276, allocations: 0 / 299.2 MB, free: 15.7 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.001398/0.01416, allocations: 1.069 MB / 300.3 MB, free: 14.61 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.01422, allocations: 12.03 kB / 300.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004479/0.01466, allocations: 233.9 kB / 300.5 MB, free: 14.35 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.01511, allocations: 331.5 kB / 300.8 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.01516, allocations: 41.69 kB / 300.9 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.784e-05/0.01523, allocations: 68.3 kB / 300.9 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006007/0.01584, allocations: 467.4 kB / 301.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.223e-05/0.01587, allocations: 12.12 kB / 301.4 MB, free: 13.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.908e-05/0.01591, allocations: 27.94 kB / 301.4 MB, free: 13.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.01593, allocations: 16 kB / 301.4 MB, free: 13.35 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.01625, allocations: 201.1 kB / 301.6 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001752/0.018, allocations: 1.59 MB / 303.2 MB, free: 11.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006183/0.01862, allocations: 440.8 kB / 303.6 MB, free: 10.98 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.01882, allocations: 155.5 kB / 303.8 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001257/0.01895, allocations: 28.44 kB / 303.8 MB, free: 10.78 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.01899, allocations: 51.05 kB / 303.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of pre-optimization done (n=83): time 3.757e-06/0.019, allocations: 0 / 303.9 MB, free: 10.72 MB / 298.7 MB Notification: Performance of matching and sorting (n=116): time 0.003957/0.02295, allocations: 2.765 MB / 306.6 MB, free: 7.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002896/0.02324, allocations: 222.2 kB / 306.9 MB, free: 7.504 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.02349, allocations: 359.2 kB / 307.2 MB, free: 7.141 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.556e-05/0.02353, allocations: 41.7 kB / 307.3 MB, free: 7.094 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.02365, allocations: 238.5 kB / 307.5 MB, free: 6.855 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/0.02386, allocations: 436.2 kB / 307.9 MB, free: 6.426 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/0.02403, allocations: 182.8 kB / 308.1 MB, free: 6.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.02417, allocations: 394.5 kB / 308.5 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.0243, allocations: 98.58 kB / 308.6 MB, free: 5.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002417/0.02454, allocations: 308.3 kB / 308.9 MB, free: 5.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004518/0.02499, allocations: 0.5047 MB / 309.4 MB, free: 4.812 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.025, allocations: 0 / 309.4 MB, free: 4.812 MB / 298.7 MB Notification: Performance of matching and sorting (n=145) (initialization): time 0.0005488/0.02555, allocations: 0.5172 MB / 309.9 MB, free: 4.289 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.02557, allocations: 4 kB / 309.9 MB, free: 4.285 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/0.02558, allocations: 8 kB / 309.9 MB, free: 4.277 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.02561, allocations: 8.062 kB / 309.9 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.02674, allocations: 349.8 kB / 310.3 MB, free: 3.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.265e-05/0.02675, allocations: 8 kB / 310.3 MB, free: 3.922 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.02695, allocations: 35.98 kB / 310.3 MB, free: 3.887 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-05/0.02699, allocations: 32 kB / 310.3 MB, free: 3.855 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.0001699/0.02716, allocations: 184.3 kB / 310.5 MB, free: 3.664 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.02732, allocations: 91.86 kB / 310.6 MB, free: 3.574 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.02754, allocations: 160.5 kB / 310.8 MB, free: 3.41 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/0.02755, allocations: 12 kB / 310.8 MB, free: 3.398 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.02757, allocations: 4 kB / 310.8 MB, free: 3.395 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.02758, allocations: 3.984 kB / 310.8 MB, free: 3.391 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001742/0.02932, allocations: 1.432 MB / 312.2 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.02933, allocations: 4 kB / 312.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.02997, allocations: 291.6 kB / 312.5 MB, free: 1.605 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.03012, allocations: 75.52 kB / 312.6 MB, free: 1.531 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.03013, allocations: 16.22 kB / 312.6 MB, free: 1.516 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.633e-05/0.03017, allocations: 27.98 kB / 312.6 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-05/0.03018, allocations: 11.94 kB / 312.6 MB, free: 1.477 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.03018, allocations: 4 kB / 312.6 MB, free: 1.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009607/0.03114, allocations: 1.225 MB / 313.9 MB, free: 212 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.0312, allocations: 28 kB / 313.9 MB, free: 184 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.03148, allocations: 35.92 kB / 313.9 MB, free: 148 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.0316, allocations: 84.45 kB / 314 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.955e-05/0.03164, allocations: 27.98 kB / 314 MB, free: 36 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001558/0.03179, allocations: 156.6 kB / 314.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03179, allocations: 0 / 314.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005572/0.03235, allocations: 192 kB / 314.4 MB, free: 15.7 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.0001867/0.03254, allocations: 124.1 kB / 314.5 MB, free: 15.56 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005577/0.0331, allocations: 481.7 kB / 315 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.174e-05/0.03313, allocations: 14.62 kB / 315 MB, free: 15.07 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002648/0.03339, allocations: 280.4 kB / 315.2 MB, free: 14.8 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008026/0.03419, allocations: 217.2 kB / 315.5 MB, free: 14.6 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003303/0.0375, allocations: 1.498 MB / 317 MB, free: 13.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001813/0.03768, allocations: 185.2 kB / 317.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003189/0.038, allocations: 94.62 kB / 317.2 MB, free: 12.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006665/0.03866, allocations: 205.3 kB / 317.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of SimCode: time 3.216e-06/0.03867, allocations: 0 / 317.4 MB, free: 12.52 MB / 314.7 MB Notification: Performance of Templates: time 0.01492/0.05359, allocations: 8.284 MB / 325.7 MB, free: 4.414 MB / 314.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.6582519644871354]