Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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.001302/0.001302, allocations: 79.73 kB / 21.25 MB, free: 396 kB / 14.72 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.0014/0.0014, allocations: 170 kB / 24.5 MB, free: 3.453 MB / 14.72 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.491/1.491, allocations: 177.1 MB / 204.7 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] 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.2174/0.2174, allocations: 34.26 MB / 295.4 MB, free: 14.46 MB / 286.1 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.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.v_0.1.|heatCapacitor.T|prismatic1.s|prismatic1.v|prismatic2.s|prismatic2.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002421/0.002421, allocations: 76.11 kB / 443.2 MB, free: 6.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3123, allocations: 66.06 MB / 0.4973 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01128/0.3236, allocations: 13.98 MB / 0.5109 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009458/0.333, allocations: 4.788 MB / 0.5156 GB, free: 17.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003362/0.3364, allocations: 114.3 kB / 0.5157 GB, free: 17.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009778/0.3462, allocations: 5.024 MB / 0.5206 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006893/0.353, allocations: 2.556 MB / 0.5231 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.3562, allocations: 1.185 MB / 0.5243 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01214/0.3684, allocations: 6.653 MB / 0.5308 GB, free: 11.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008131/0.3765, allocations: 5.026 MB / 0.5357 GB, free: 9.039 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.3818, allocations: 2.631 MB / 0.5383 GB, free: 7.574 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005769/0.3875, allocations: 3.676 MB / 0.5418 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001784/0.3893, allocations: 0.571 MB / 0.5424 GB, free: 5.387 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003432/0.3928, allocations: 1.181 MB / 0.5436 GB, free: 5.043 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004588/0.3973, allocations: 3.284 MB / 0.5468 GB, free: 2.738 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005318/0.4027, allocations: 2.765 MB / 0.5495 GB, free: 15.95 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02106/0.4237, allocations: 11.19 MB / 0.5604 GB, free: 4.719 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.131e-05/0.4237, allocations: 0 / 0.5604 GB, free: 4.719 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4237, allocations: 4 kB / 0.5604 GB, free: 4.715 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0006796/0.4244, allocations: 0 / 0.5604 GB, free: 4.715 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2520 * Number of variables: 2520 Notification: Performance of Generate backend data structure: time 0.02063/0.445, allocations: 7.706 MB / 0.5679 GB, free: 12.94 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.4451, allocations: 8.031 kB / 0.5679 GB, free: 12.93 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01241/0.4575, allocations: 2.878 MB / 0.5707 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008381/0.4659, allocations: 3.536 MB / 0.5742 GB, free: 6.453 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004407/0.4663, allocations: 427.3 kB / 0.5746 GB, free: 6.035 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/0.468, allocations: 0.5543 MB / 0.5751 GB, free: 5.48 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04554/0.5135, allocations: 19.88 MB / 0.5946 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003085/0.5138, allocations: 67.45 kB / 0.5946 GB, free: 376 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001763/0.5156, allocations: 263.8 kB / 0.5949 GB, free: 112 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005486/0.5211, allocations: 3.161 MB / 0.598 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04081/0.5619, allocations: 15.81 MB / 0.6134 GB, free: 13.1 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08525/0.6471, allocations: 59.79 MB / 0.6718 GB, free: 15.67 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01875/0.6659, allocations: 5.927 MB / 0.6776 GB, free: 9.695 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003626/0.6695, allocations: 1.863 MB / 0.6794 GB, free: 7.824 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01646/0.686, allocations: 7.517 MB / 0.6867 GB, free: 264 kB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.29e-05/0.686, allocations: 64.5 kB / 0.6868 GB, free: 192 kB / 0.5763 GB Notification: Performance of pre-optimization done (n=257): time 5.52e-06/0.686, allocations: 0 / 0.6868 GB, free: 192 kB / 0.5763 GB Notification: Performance of matching and sorting (n=291): time 0.4492/1.135, allocations: 22.24 MB / 0.7085 GB, free: 141.7 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/1.135, allocations: 157.8 kB / 0.7087 GB, free: 141.5 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007286/1.143, allocations: 5.295 MB / 0.7138 GB, free: 139.7 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0004365/1.143, allocations: 70.95 kB / 0.7139 GB, free: 139.6 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.002888/1.146, allocations: 5.061 MB / 0.7189 GB, free: 136 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.001218/1.147, allocations: 1.162 MB / 0.72 GB, free: 135.2 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00236/1.149, allocations: 1.828 MB / 0.7218 GB, free: 134.3 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.401e-05/1.15, allocations: 309.6 kB / 0.7221 GB, free: 134 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004629/1.154, allocations: 2.633 MB / 0.7246 GB, free: 133.2 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007416/1.162, allocations: 8.203 MB / 0.7327 GB, free: 124.9 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0123/1.174, allocations: 11.75 MB / 0.7441 GB, free: 114.6 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003376/1.174, allocations: 54.38 kB / 0.7442 GB, free: 114.6 MB / 0.5763 GB Notification: Performance of matching and sorting (n=1207) (initialization): time 0.01899/1.193, allocations: 10.52 MB / 0.7545 GB, free: 110.6 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/1.193, allocations: 88.88 kB / 0.7545 GB, free: 110.6 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000287/1.194, allocations: 201.8 kB / 0.7547 GB, free: 110.6 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002174/1.194, allocations: 262 kB / 0.755 GB, free: 110.6 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00685/1.201, allocations: 2.234 MB / 0.7572 GB, free: 108.8 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002186/1.201, allocations: 383.8 kB / 0.7575 GB, free: 108.4 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006784/1.208, allocations: 0.5212 MB / 0.758 GB, free: 108 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001201/1.209, allocations: 0.5348 MB / 0.7586 GB, free: 107.4 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 895 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.twoHeadedArrow,force.forceArrow.headAtOrigin,fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],prismatic2.boxColor[3],prismatic2.boxColor[2],prismatic2.boxColor[1],damper2.color_b[3],damper2.color_b[2],damper2.color_b[1],damper2.color_a[3],damper2.color_a[2],damper2.color_a[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],force.connectionLineColor[3],force.connectionLineColor[2],force.connectionLineColor[1],force.forceColor[3],force.forceColor[2],force.forceColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1183): * Single equations (assignments): 1180 * Array equations: 3 * 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.004671/1.214, allocations: 3.148 MB / 0.7616 GB, free: 104.7 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009626/1.215, allocations: 488.3 kB / 0.7621 GB, free: 104.2 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003948/1.219, allocations: 2.874 MB / 0.7649 GB, free: 101.7 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/1.219, allocations: 32 kB / 0.7649 GB, free: 101.7 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/1.219, allocations: 2.25 kB / 0.7649 GB, free: 101.7 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/1.219, allocations: 18.77 kB / 0.765 GB, free: 101.7 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0151/1.234, allocations: 10.09 MB / 0.7748 GB, free: 91.92 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.151e-05/1.234, allocations: 35.98 kB / 0.7748 GB, free: 91.88 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001857/1.236, allocations: 0.5466 MB / 0.7754 GB, free: 91.34 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.718e-05/1.236, allocations: 48 kB / 0.7754 GB, free: 91.29 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001318/1.236, allocations: 87.98 kB / 0.7755 GB, free: 91.2 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.738e-05/1.236, allocations: 59.8 kB / 0.7756 GB, free: 91.14 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.811e-05/1.236, allocations: 47.81 kB / 0.7756 GB, free: 91.1 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005416/1.241, allocations: 5.571 MB / 0.7811 GB, free: 85 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001125/1.242, allocations: 464.6 kB / 0.7815 GB, free: 84.54 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/1.243, allocations: 87.97 kB / 0.7816 GB, free: 84.46 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001892/1.245, allocations: 167.8 kB / 0.7817 GB, free: 84.29 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/1.245, allocations: 287.7 kB / 0.782 GB, free: 84.01 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001421/1.245, allocations: 116 kB / 0.7821 GB, free: 83.9 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.003751/1.249, allocations: 2.99 MB / 0.785 GB, free: 80.92 MB / 0.5763 GB Notification: Performance of sort global known variables: time 1.9e-07/1.249, allocations: 0 / 0.785 GB, free: 80.92 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.007789/1.257, allocations: 1.402 MB / 0.7864 GB, free: 79.52 MB / 0.5763 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 142 * Number of states: 7 (body.frame_a.r_0[1],body.v_0[1],prismatic1.s,prismatic1.v,heatCapacitor.T,prismatic2.s,prismatic2.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (275): * Single equations (assignments): 272 * Array equations: 3 * 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.0004844/1.257, allocations: 254.2 kB / 0.7867 GB, free: 79.26 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.008458/1.266, allocations: 5.818 MB / 0.7923 GB, free: 73.48 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.67e-05/1.266, allocations: 4 kB / 0.7923 GB, free: 73.48 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/1.267, allocations: 1.309 MB / 0.7936 GB, free: 72.18 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003969/1.271, allocations: 0.6335 MB / 0.7942 GB, free: 71.55 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02155/1.293, allocations: 14.42 MB / 0.8083 GB, free: 56.67 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005948/1.299, allocations: 4.259 MB / 0.8125 GB, free: 52.38 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.005731/1.304, allocations: 2.512 MB / 0.8149 GB, free: 49.86 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.305, allocations: 348.5 kB / 0.8153 GB, free: 49.52 MB / 0.5763 GB Notification: Performance of SimCode: time 1.032e-06/1.305, allocations: 0 / 0.8153 GB, free: 49.52 MB / 0.5763 GB Notification: Performance of Templates: time 0.06843/1.374, allocations: 33.24 MB / 0.8477 GB, free: 17.05 MB / 0.5763 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Damper.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: 7.9532705679303035]