Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002506/0.002511, allocations: 188.3 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001237/0.001236, allocations: 102.8 kB / 270.9 MB, free: 13.28 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2928/0.2928, allocations: 43.55 MB / 362.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007375/0.0007379, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1756, allocations: 58.86 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.5579/0.7336, allocations: 54.7 MB / 0.5322 GB, free: 9.789 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03804/0.7717, allocations: 13.02 MB / 0.5449 GB, free: 8.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0153/0.787, allocations: 282.7 kB / 0.5451 GB, free: 8.223 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01202/0.7991, allocations: 2.706 MB / 0.5478 GB, free: 7.645 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03414/0.8333, allocations: 7.83 MB / 0.5554 GB, free: 4.141 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006023/0.8394, allocations: 0.9966 MB / 0.5564 GB, free: 3.555 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.07115/0.9106, allocations: 27 MB / 0.5828 GB, free: 13.63 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01208/0.9227, allocations: 5.541 MB / 0.5882 GB, free: 8.035 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003967/0.9268, allocations: 1.495 MB / 0.5896 GB, free: 6.535 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004671/0.9315, allocations: 2.017 MB / 0.5916 GB, free: 4.512 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001233/0.9328, allocations: 204 kB / 0.5918 GB, free: 4.312 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003966/0.9368, allocations: 1.124 MB / 0.5929 GB, free: 3.188 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00436/0.9412, allocations: 2.217 MB / 0.5951 GB, free: 0.9648 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00225/0.9435, allocations: 1.111 MB / 0.5962 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.956, allocations: 7.536 MB / 0.6035 GB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.9561, allocations: 0 / 0.6035 GB, free: 8.289 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.9561, allocations: 0 / 0.6035 GB, free: 8.289 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002912/0.9564, allocations: 0 / 0.6035 GB, free: 8.289 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.02496/0.9814, allocations: 6.106 MB / 0.6095 GB, free: 2.102 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.9815, allocations: 12.03 kB / 0.6095 GB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3453/1.327, allocations: 14.68 MB / 0.6238 GB, free: 3.383 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/1.343, allocations: 4.529 MB / 0.6282 GB, free: 14.77 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003543/1.343, allocations: 312 kB / 0.6285 GB, free: 14.46 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/1.345, allocations: 423.7 kB / 0.6289 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03994/1.385, allocations: 13.89 MB / 0.6425 GB, free: 15.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/1.385, allocations: 55.53 kB / 0.6426 GB, free: 15.23 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000871/1.386, allocations: 203.8 kB / 0.6428 GB, free: 15.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007242/1.393, allocations: 2.519 MB / 0.6452 GB, free: 12.51 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04127/1.435, allocations: 11.76 MB / 0.6567 GB, free: 0.7344 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1045/1.539, allocations: 53.36 MB / 0.7088 GB, free: 9.863 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02972/1.569, allocations: 5.834 MB / 0.7145 GB, free: 3.875 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.364/1.933, allocations: 14.94 MB / 0.7291 GB, free: 182.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.061e-05/1.933, allocations: 56.67 kB / 0.7292 GB, free: 182.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 7.293e-06/1.933, allocations: 0 / 0.7292 GB, free: 182.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=264): time 0.1411/2.074, allocations: 26.71 MB / 0.7552 GB, free: 171.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.195e-05/2.074, allocations: 261.3 kB / 0.7555 GB, free: 170.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008824/2.083, allocations: 5.325 MB / 0.7607 GB, free: 165.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005862/2.084, allocations: 69.7 kB / 0.7608 GB, free: 165.5 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002676/2.087, allocations: 3.803 MB / 0.7645 GB, free: 161.7 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001363/2.088, allocations: 0.9977 MB / 0.7654 GB, free: 160.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005959/2.089, allocations: 147.8 kB / 0.7656 GB, free: 160.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003846/2.089, allocations: 0.6208 MB / 0.7662 GB, free: 159.9 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006031/2.095, allocations: 2.7 MB / 0.7688 GB, free: 157.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009102/2.104, allocations: 7.023 MB / 0.7757 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009144/2.113, allocations: 4.234 MB / 0.7798 GB, free: 144 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001132/2.114, allocations: 44 kB / 0.7799 GB, free: 144 MB / 0.5105 GB Notification: Performance of matching and sorting (n=963) (initialization): time 0.02486/2.138, allocations: 9.856 MB / 0.7895 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001071/2.139, allocations: 72 kB / 0.7896 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001868/2.139, allocations: 155.7 kB / 0.7897 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002876/2.142, allocations: 0.7309 MB / 0.7904 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01134/2.153, allocations: 1.774 MB / 0.7921 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/2.164, allocations: 6.459 MB / 0.7985 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008262/2.172, allocations: 404.7 kB / 0.7988 GB, free: 124.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001456/2.174, allocations: 444 kB / 0.7993 GB, free: 123.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (913): * Single equations (assignments): 908 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006495/2.18, allocations: 2.648 MB / 0.8019 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/2.181, allocations: 473.9 kB / 0.8023 GB, free: 120.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01148/2.193, allocations: 4.368 MB / 0.8066 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.727e-05/2.193, allocations: 28.86 kB / 0.8066 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.778e-05/2.193, allocations: 11.95 kB / 0.8066 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.293e-05/2.193, allocations: 11.95 kB / 0.8066 GB, free: 116.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02951/2.222, allocations: 10.87 MB / 0.8172 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-05/2.223, allocations: 3.953 kB / 0.8172 GB, free: 105.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004946/2.227, allocations: 499.3 kB / 0.8177 GB, free: 104.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002459/2.23, allocations: 0.4906 MB / 0.8182 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005786/2.231, allocations: 40 kB / 0.8182 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00935/2.24, allocations: 5.82 MB / 0.8239 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/2.24, allocations: 0 / 0.8239 GB, free: 98.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/2.257, allocations: 7.68 MB / 0.8314 GB, free: 90.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003126/2.261, allocations: 0.8541 MB / 0.8322 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001468/2.262, allocations: 40 kB / 0.8323 GB, free: 89.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004348/2.267, allocations: 167.8 kB / 0.8324 GB, free: 89.43 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000828/2.267, allocations: 145.7 kB / 0.8326 GB, free: 89.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002865/2.268, allocations: 72.61 kB / 0.8327 GB, free: 89.22 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007604/2.275, allocations: 3.372 MB / 0.8359 GB, free: 85.87 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.31e-07/2.275, allocations: 0 / 0.8359 GB, free: 85.87 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008654/2.284, allocations: 1.327 MB / 0.8372 GB, free: 84.55 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * 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 (224): * Single equations (assignments): 219 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/2.285, allocations: 199.7 kB / 0.8374 GB, free: 84.35 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01552/2.301, allocations: 6.744 MB / 0.844 GB, free: 77.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/2.301, allocations: 1.125 kB / 0.844 GB, free: 77.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005256/2.306, allocations: 2.367 MB / 0.8463 GB, free: 75.22 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004723/2.311, allocations: 0.5678 MB / 0.8469 GB, free: 74.66 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03312/2.344, allocations: 15.22 MB / 0.8618 GB, free: 59.4 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008012/2.352, allocations: 4.23 MB / 0.8659 GB, free: 55.14 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002536/2.355, allocations: 387.4 kB / 0.8663 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of SimCode: time 1.343e-06/2.355, allocations: 0 / 0.8663 GB, free: 54.76 MB / 0.5105 GB Notification: Performance of Templates: time 0.6198/2.974, allocations: 119.2 MB / 0.9827 GB, free: 104.8 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches