Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009101/0.0009101, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001296/0.002206, allocations: 452 kB / 10.43 MB, free: 264 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.0007657/0.0007657, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001124/0.00189, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1953/1.33, allocations: 49.5 MB / 220.7 MB, free: 1.363 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1543/0.1543, allocations: 32.36 MB / 253.8 MB, free: 232 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02612/0.1804, allocations: 12.31 MB / 266.1 MB, free: 3.879 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.Translational.AllComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 0 / 267.4 MB, free: 2.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.272e-05, allocations: 10.19 kB / 267.4 MB, free: 2.586 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Translational.AllComponents): time 0.004025/0.004048, allocations: 4.032 MB / 271.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002143/0.006191, allocations: 1.141 MB / 272.5 MB, free: 13.37 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003496/0.006541, allocations: 19.88 kB / 272.6 MB, free: 13.35 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.006735, allocations: 102.9 kB / 272.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000429/0.007164, allocations: 206 kB / 272.9 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005198/0.007683, allocations: 203.5 kB / 273.1 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008381/0.008522, allocations: 0.809 MB / 273.9 MB, free: 12.03 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006332/0.009155, allocations: 170 kB / 274 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006618/0.009817, allocations: 0.504 MB / 274.5 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000326/0.01014, allocations: 259.3 kB / 274.8 MB, free: 11.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.587e-05/0.01022, allocations: 63.94 kB / 274.9 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001724/0.01039, allocations: 91.91 kB / 275 MB, free: 10.95 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.978e-05/0.01048, allocations: 99.62 kB / 275 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.01066, allocations: 199.6 kB / 275.2 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005199/0.01118, allocations: 494.1 kB / 275.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.2e-05/0.01119, allocations: 4 kB / 275.7 MB, free: 10.17 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.0112, allocations: 4 kB / 275.7 MB, free: 10.16 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.01121, allocations: 3.938 kB / 275.7 MB, free: 10.16 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001157/0.01237, allocations: 1.045 MB / 276.8 MB, free: 9.086 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.449e-05/0.01241, allocations: 8.031 kB / 276.8 MB, free: 9.078 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.01253, allocations: 100.8 kB / 276.9 MB, free: 8.98 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003453/0.01287, allocations: 287.7 kB / 277.2 MB, free: 8.672 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.317e-05/0.0129, allocations: 45.69 kB / 277.2 MB, free: 8.629 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.01297, allocations: 64.31 kB / 277.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005761/0.01355, allocations: 0.5428 MB / 277.8 MB, free: 7.977 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.01357, allocations: 12.12 kB / 277.8 MB, free: 7.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.041e-05/0.0136, allocations: 24.36 kB / 277.9 MB, free: 7.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.356e-05/0.01362, allocations: 19.94 kB / 277.9 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003123/0.01393, allocations: 199.1 kB / 278.1 MB, free: 7.727 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.01557, allocations: 1.592 MB / 279.7 MB, free: 6.059 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005486/0.01612, allocations: 441.5 kB / 280.1 MB, free: 5.566 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.01628, allocations: 159.4 kB / 280.2 MB, free: 5.391 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.375e-05/0.01636, allocations: 20.48 kB / 280.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.0164, allocations: 51 kB / 280.3 MB, free: 5.309 MB / 282.7 MB Notification: Performance of pre-optimization done (n=82): time 3.677e-06/0.0164, allocations: 3.984 kB / 280.3 MB, free: 5.305 MB / 282.7 MB Notification: Performance of matching and sorting (n=115): time 0.003955/0.02035, allocations: 2.799 MB / 283.1 MB, free: 2.309 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.38e-05/0.02043, allocations: 218.3 kB / 283.3 MB, free: 2.043 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002007/0.02063, allocations: 347.2 kB / 283.7 MB, free: 1.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.02066, allocations: 41.7 kB / 283.7 MB, free: 1.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.02076, allocations: 226.5 kB / 283.9 MB, free: 1.418 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002148/0.02098, allocations: 436.2 kB / 284.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.02113, allocations: 186.8 kB / 284.5 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001048/0.02124, allocations: 386.6 kB / 284.9 MB, free: 420 kB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001192/0.02136, allocations: 102.6 kB / 285 MB, free: 320 kB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1576/0.1789, allocations: 299.8 kB / 285.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006623/0.1796, allocations: 0.5064 MB / 285.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.1796, allocations: 2.281 kB / 285.8 MB, free: 13.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0007874/0.1804, allocations: 0.5124 MB / 286.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.1804, allocations: 7.031 kB / 286.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.1804, allocations: 5.719 kB / 286.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.638e-05/0.1805, allocations: 10.3 kB / 286.4 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008034/0.1813, allocations: 337.2 kB / 286.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.327e-05/0.1813, allocations: 16.08 kB / 286.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.1815, allocations: 42.78 kB / 286.7 MB, free: 13.2 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.764e-05/0.1816, allocations: 33.34 kB / 286.8 MB, free: 13.2 MB / 282.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 (144): * Single equations (assignments): 144 * 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.000197/0.1818, allocations: 179.5 kB / 287 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001672/0.1819, allocations: 87.41 kB / 287 MB, free: 13.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002233/0.1822, allocations: 158.7 kB / 287.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.1822, allocations: 13.2 kB / 287.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.1822, allocations: 3 kB / 287.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.293e-05/0.1822, allocations: 8 kB / 287.2 MB, free: 13.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/0.184, allocations: 1.411 MB / 288.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.184, allocations: 4.625 kB / 288.6 MB, free: 12.48 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007425/0.1848, allocations: 302.5 kB / 288.9 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001883/0.185, allocations: 82.36 kB / 289 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.546e-05/0.185, allocations: 8.438 kB / 289 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.185, allocations: 27.41 kB / 289 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.185, allocations: 13.45 kB / 289.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/0.185, allocations: 4.062 kB / 289.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000944/0.186, allocations: 1.226 MB / 290.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.032e-05/0.186, allocations: 30.64 kB / 290.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1863, allocations: 32.36 kB / 290.3 MB, free: 11.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.1865, allocations: 87.94 kB / 290.4 MB, free: 11.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-05/0.1865, allocations: 26.66 kB / 290.5 MB, free: 11.78 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001649/0.1867, allocations: 139.1 kB / 290.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-08/0.1867, allocations: 0 / 290.6 MB, free: 11.76 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006207/0.1873, allocations: 194.8 kB / 290.8 MB, free: 11.76 MB / 282.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 (115): * Single equations (assignments): 115 * 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.0001999/0.1875, allocations: 121.6 kB / 290.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006771/0.1882, allocations: 484 kB / 291.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.329e-05/0.1882, allocations: 20.94 kB / 291.4 MB, free: 11.67 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004205/0.1886, allocations: 350.8 kB / 291.7 MB, free: 11.62 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.1897, allocations: 1.139 MB / 292.9 MB, free: 10.49 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.193, allocations: 1.473 MB / 294.4 MB, free: 9.797 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1933, allocations: 173.2 kB / 294.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003135/0.1936, allocations: 90.75 kB / 294.6 MB, free: 9.711 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003207/0.1939, allocations: 195.1 kB / 294.8 MB, free: 9.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1939, allocations: 1.438 kB / 294.8 MB, free: 9.66 MB / 282.7 MB Notification: Performance of Templates: time 0.01168/0.2056, allocations: 7.845 MB / 302.6 MB, free: 6.945 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Translational.AllComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Translational/AllComponents/AllComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.3955977642908692]