Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.Damper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001209/0.00121, allocations: 107.9 kB / 17.09 MB, free: 5.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 190.9 kB / 18.02 MB, free: 4.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.326/1.326, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2003/0.2003, allocations: 43.52 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 69.47 kB / 442.5 MB, free: 5.621 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09633, allocations: 57.79 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Damper): time 0.01727/0.1136, allocations: 17.63 MB / 0.5058 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01005/0.1237, allocations: 5.204 MB / 0.5109 GB, free: 4.824 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.1259, allocations: 103.8 kB / 0.511 GB, free: 4.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009083/0.135, allocations: 5.237 MB / 0.5161 GB, free: 15.47 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006431/0.1415, allocations: 2.738 MB / 0.5188 GB, free: 12.72 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002597/0.1441, allocations: 1.178 MB / 0.5199 GB, free: 11.54 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.009088/0.1532, allocations: 7.028 MB / 0.5268 GB, free: 4.492 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2192/0.3724, allocations: 6.54 MB / 0.5332 GB, free: 7.445 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00491/0.3773, allocations: 2.788 MB / 0.5359 GB, free: 7.297 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006541/0.3839, allocations: 3.992 MB / 0.5398 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002695/0.3866, allocations: 0.6258 MB / 0.5404 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004656/0.3913, allocations: 1.318 MB / 0.5417 GB, free: 6.902 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005262/0.3966, allocations: 3.529 MB / 0.5451 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006621/0.4032, allocations: 4.012 MB / 0.549 GB, free: 5.184 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01297/0.4162, allocations: 12.23 MB / 0.561 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.4163, allocations: 0 / 0.561 GB, free: 1.195 MB / 414.1 MB Notification: Performance of FrontEnd: time 8.71e-07/0.4163, allocations: 0 / 0.561 GB, free: 1.195 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003725/0.4167, allocations: 0 / 0.561 GB, free: 1.195 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2763 * Number of variables: 2763 Notification: Performance of Generate backend data structure: time 0.01737/0.434, allocations: 8.192 MB / 0.569 GB, free: 11.87 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/0.4341, allocations: 13.08 kB / 0.569 GB, free: 11.86 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01088/0.445, allocations: 2.731 MB / 0.5717 GB, free: 10.43 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008935/0.4539, allocations: 4.003 MB / 0.5756 GB, free: 8.242 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004195/0.4544, allocations: 461.3 kB / 0.576 GB, free: 8.098 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00239/0.4568, allocations: 0.5879 MB / 0.5766 GB, free: 7.949 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04559/0.5024, allocations: 21.22 MB / 0.5973 GB, free: 4.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004169/0.5029, allocations: 80.08 kB / 0.5974 GB, free: 4.457 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002586/0.5055, allocations: 283 kB / 0.5977 GB, free: 4.246 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00593/0.5114, allocations: 3.539 MB / 0.6011 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04064/0.5521, allocations: 17.2 MB / 0.6179 GB, free: 15.85 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/0.6534, allocations: 67.51 MB / 0.6838 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01932/0.6728, allocations: 6.67 MB / 0.6903 GB, free: 4.797 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004704/0.6776, allocations: 2.339 MB / 0.6926 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.019/0.6966, allocations: 9.777 MB / 0.7022 GB, free: 8.449 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.291e-05/0.6967, allocations: 60.56 kB / 0.7022 GB, free: 8.383 MB / 0.545 GB Notification: Performance of pre-optimization done (n=296): time 7.063e-06/0.6967, allocations: 0 / 0.7022 GB, free: 8.383 MB / 0.545 GB Notification: Performance of matching and sorting (n=330): time 0.06597/0.7627, allocations: 22.76 MB / 0.7245 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.7e-05/0.7628, allocations: 165.5 kB / 0.7246 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00948/0.7723, allocations: 6.033 MB / 0.7305 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0005655/0.7729, allocations: 73.7 kB / 0.7306 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.003711/0.7766, allocations: 5.184 MB / 0.7356 GB, free: 6.004 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001519/0.7782, allocations: 1.255 MB / 0.7369 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002565/0.7807, allocations: 1.935 MB / 0.7388 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.7808, allocations: 305.1 kB / 0.7391 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004778/0.7856, allocations: 2.85 MB / 0.7418 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009097/0.7948, allocations: 8.674 MB / 0.7503 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2497/1.044, allocations: 12.52 MB / 0.7625 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002158/1.045, allocations: 58.12 kB / 0.7626 GB, free: 188.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1291) (initialization): time 0.02271/1.067, allocations: 11.25 MB / 0.7736 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/1.068, allocations: 93.56 kB / 0.7737 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002773/1.068, allocations: 204.4 kB / 0.7739 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004227/1.068, allocations: 275.5 kB / 0.7741 GB, free: 185.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007645/1.076, allocations: 2.364 MB / 0.7764 GB, free: 185.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003537/1.076, allocations: 403 kB / 0.7768 GB, free: 185.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006462/1.083, allocations: 479.8 kB / 0.7773 GB, free: 185.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.084, allocations: 0.5759 MB / 0.7778 GB, free: 185.2 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 72 (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 (1267): * Single equations (assignments): 1264 * 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.005432/1.089, allocations: 3.399 MB / 0.7812 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00079/1.09, allocations: 0.5409 MB / 0.7817 GB, free: 183.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005551/1.096, allocations: 3.451 MB / 0.7851 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-05/1.096, allocations: 19.39 kB / 0.7851 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/1.096, allocations: 0 / 0.7851 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.097, allocations: 0.8465 MB / 0.7859 GB, free: 182.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007404/1.098, allocations: 52.62 kB / 0.7859 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001867/1.1, allocations: 137.2 kB / 0.7861 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003473/1.1, allocations: 172.2 kB / 0.7862 GB, free: 182 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006108/1.107, allocations: 4.001 MB / 0.7901 GB, free: 180.4 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007456/1.114, allocations: 6.301 MB / 0.7963 GB, free: 177.8 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001887/1.116, allocations: 1.637 MB / 0.7979 GB, free: 177.2 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.005697/1.122, allocations: 3.731 MB / 0.8015 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of Backend: time 7.21e-07/1.122, allocations: 0 / 0.8015 GB, free: 174.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01056/1.132, allocations: 5.616 MB / 0.807 GB, free: 169.5 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02085/1.153, allocations: 14.81 MB / 0.8215 GB, free: 156 MB / 0.5919 GB Notification: Performance of Templates: time 0.09823/1.251, allocations: 58.96 MB / 0.8791 GB, free: 99.79 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Damper/Damper.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Damper.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches