Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.MultiBody.Forces.Damper") translateModel(ModelicaTest.MultiBody.Forces.Damper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_cpp_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 195.3 kB / 16.1 MB, free: 5.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.395/1.395, allocations: 226.5 MB / 243.4 MB, free: 6.508 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008252/0.0008251, allocations: 95.34 kB / 295.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3131/0.3131, allocations: 44.81 MB / 392.3 MB, free: 35.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002587/0.0002589, allocations: 8 kB / 465.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.323, allocations: 62.96 MB / 0.5159 GB, free: 37.52 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.0628/0.3859, allocations: 78.39 MB / 0.5924 GB, free: 10.23 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.03932/0.4252, allocations: 15.82 MB / 0.6079 GB, free: 11.02 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01932/0.4446, allocations: 367.1 kB / 0.6082 GB, free: 10.66 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01453/0.4592, allocations: 4.141 MB / 0.6123 GB, free: 6.496 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03324/0.4924, allocations: 11.97 MB / 0.624 GB, free: 10.48 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007129/0.4996, allocations: 1.116 MB / 0.625 GB, free: 9.363 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.01059/0.5102, allocations: 7.985 MB / 0.6328 GB, free: 1.371 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01312/0.5234, allocations: 8.932 MB / 0.6416 GB, free: 8.34 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.5278, allocations: 2.043 MB / 0.6436 GB, free: 6.289 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004944/0.5327, allocations: 3.326 MB / 0.6468 GB, free: 2.953 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001478/0.5342, allocations: 256 kB / 0.6471 GB, free: 2.703 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002935/0.5372, allocations: 0.9908 MB / 0.648 GB, free: 1.711 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003661/0.5409, allocations: 2.875 MB / 0.6508 GB, free: 14.83 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005401/0.5463, allocations: 3.132 MB / 0.6539 GB, free: 11.67 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01175/0.5581, allocations: 8.783 MB / 0.6625 GB, free: 2.867 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.158e-05/0.5582, allocations: 0 / 0.6625 GB, free: 2.867 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.008e-06/0.5582, allocations: 0 / 0.6625 GB, free: 2.867 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0006383/0.5588, allocations: 0 / 0.6625 GB, free: 2.867 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2607 * Number of variables: 2607 Notification: Performance of Generate backend data structure: time 0.01393/0.5728, allocations: 6.297 MB / 0.6686 GB, free: 12.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.5728, allocations: 12.03 kB / 0.6686 GB, free: 12.48 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.583, allocations: 2.725 MB / 0.6713 GB, free: 9.738 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007562/0.5906, allocations: 3.592 MB / 0.6748 GB, free: 6.086 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/0.5911, allocations: 439.5 kB / 0.6752 GB, free: 5.656 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001939/0.593, allocations: 0.5659 MB / 0.6758 GB, free: 5.09 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4393/1.032, allocations: 20.28 MB / 0.6956 GB, free: 124.6 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002677/1.033, allocations: 70.33 kB / 0.6956 GB, free: 124.6 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001097/1.034, allocations: 271.9 kB / 0.6959 GB, free: 124.4 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00511/1.039, allocations: 3.332 MB / 0.6992 GB, free: 123.9 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03944/1.078, allocations: 16.27 MB / 0.715 GB, free: 118.5 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06848/1.147, allocations: 65.32 MB / 0.7788 GB, free: 55.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02015/1.167, allocations: 6.296 MB / 0.785 GB, free: 48.92 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00416/1.171, allocations: 2.051 MB / 0.787 GB, free: 46.86 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/1.188, allocations: 9.136 MB / 0.7959 GB, free: 37.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.235e-05/1.188, allocations: 68.5 kB / 0.796 GB, free: 37.41 MB / 490.8 MB Notification: Performance of pre-optimization done (n=257): time 8.806e-06/1.188, allocations: 2.25 kB / 0.796 GB, free: 37.41 MB / 490.8 MB Notification: Performance of matching and sorting (n=291): time 0.06064/1.248, allocations: 21.33 MB / 0.8168 GB, free: 16 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.44e-05/1.249, allocations: 158.5 kB / 0.817 GB, free: 15.82 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008956/1.258, allocations: 5.818 MB / 0.8226 GB, free: 10.03 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0005128/1.258, allocations: 65.7 kB / 0.8227 GB, free: 9.957 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002444/1.261, allocations: 4.954 MB / 0.8275 GB, free: 4.934 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/1.262, allocations: 1.118 MB / 0.8286 GB, free: 3.801 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005936/1.262, allocations: 188 kB / 0.8288 GB, free: 3.617 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0003879/1.263, allocations: 0.6948 MB / 0.8295 GB, free: 2.914 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/1.267, allocations: 2.591 MB / 0.832 GB, free: 324 kB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008436/1.275, allocations: 8.205 MB / 0.84 GB, free: 5.328 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/1.29, allocations: 11.77 MB / 0.8515 GB, free: 6.773 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002085/1.291, allocations: 63.94 kB / 0.8516 GB, free: 6.711 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1216) (initialization): time 0.02271/1.313, allocations: 10.49 MB / 0.8618 GB, free: 12.21 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003299/1.314, allocations: 95.98 kB / 0.8619 GB, free: 12.12 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004/1.314, allocations: 196 kB / 0.8621 GB, free: 11.93 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003979/1.314, allocations: 264.8 kB / 0.8624 GB, free: 11.67 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007798/1.322, allocations: 2.215 MB / 0.8645 GB, free: 9.449 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004666/1.323, allocations: 390.5 kB / 0.8649 GB, free: 9.066 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00646/1.329, allocations: 455.4 kB / 0.8653 GB, free: 8.621 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001957/1.331, allocations: 0.5469 MB / 0.8659 GB, free: 8.074 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 904 * Number of states: 0 () * Number of discrete variables: 78 (force2.forceArrow.arrowLine.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.arrowLine.twoHeadedArrow,force1.forceArrow.headAtOrigin,force.forceArrow.arrowLine.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 (1192): * Single equations (assignments): 1189 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007569/1.339, allocations: 3.23 MB / 0.869 GB, free: 4.832 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.34, allocations: 0.5167 MB / 0.8695 GB, free: 4.309 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006487/1.347, allocations: 2.955 MB / 0.8724 GB, free: 1.336 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-05/1.347, allocations: 31.98 kB / 0.8724 GB, free: 1.305 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.677e-05/1.347, allocations: 7.984 kB / 0.8725 GB, free: 1.297 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.754e-05/1.347, allocations: 15.95 kB / 0.8725 GB, free: 1.281 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02575/1.373, allocations: 12.46 MB / 0.8846 GB, free: 4.285 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-05/1.373, allocations: 28 kB / 0.8847 GB, free: 4.258 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00208/1.375, allocations: 0.5427 MB / 0.8852 GB, free: 3.715 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.763e-05/1.375, allocations: 48 kB / 0.8852 GB, free: 3.668 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002541/1.375, allocations: 87.98 kB / 0.8853 GB, free: 3.582 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.784e-05/1.375, allocations: 63.78 kB / 0.8854 GB, free: 3.52 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-05/1.375, allocations: 51.75 kB / 0.8854 GB, free: 3.469 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.244/1.619, allocations: 5.52 MB / 0.8908 GB, free: 167.6 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.621, allocations: 0.5882 MB / 0.8914 GB, free: 167.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007154/1.622, allocations: 89.91 kB / 0.8915 GB, free: 167.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/1.624, allocations: 143 kB / 0.8916 GB, free: 167.5 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003204/1.624, allocations: 272.6 kB / 0.8919 GB, free: 167.4 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001558/1.624, allocations: 121.4 kB / 0.892 GB, free: 167.4 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.005395/1.629, allocations: 3.599 MB / 0.8955 GB, free: 166.4 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.8e-07/1.629, allocations: 0 / 0.8955 GB, free: 166.4 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.007234/1.637, allocations: 1.467 MB / 0.8969 GB, free: 166.2 MB / 0.5418 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006062/1.637, allocations: 258.3 kB / 0.8972 GB, free: 166 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.008949/1.646, allocations: 5.936 MB / 0.903 GB, free: 164.1 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.589e-05/1.646, allocations: 5.062 kB / 0.903 GB, free: 164.1 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.001904/1.648, allocations: 1.336 MB / 0.9043 GB, free: 163.7 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02719/1.675, allocations: 0.7604 MB / 0.905 GB, free: 163.4 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/1.707, allocations: 18.23 MB / 0.9228 GB, free: 153.2 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008923/1.716, allocations: 4.878 MB / 0.9276 GB, free: 151.6 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/1.717, allocations: 447.9 kB / 0.928 GB, free: 151.5 MB / 0.5418 GB Notification: Performance of SimCode: time 1.433e-06/1.717, allocations: 4 kB / 0.928 GB, free: 151.5 MB / 0.5418 GB Notification: Performance of Templates: time 0.1115/1.829, allocations: 83.84 MB / 1.01 GB, free: 83.88 MB / 0.5418 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches