Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001108/0.001108, allocations: 90.3 kB / 17 MB, free: 6.07 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.001317/0.001317, allocations: 175 kB / 17.88 MB, free: 5.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.48/1.48, allocations: 223.3 MB / 241.9 MB, free: 328 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.23/0.23, allocations: 44.26 MB / 337.3 MB, free: 2.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003498, allocations: 8 kB / 409.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1514/0.1518, allocations: 61.93 MB / 471.6 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.3352/0.487, allocations: 57.96 MB / 0.5171 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03281/0.5199, allocations: 12.43 MB / 0.5293 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01677/0.5367, allocations: 287.8 kB / 0.5296 GB, free: 9.133 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01211/0.5488, allocations: 2.978 MB / 0.5325 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02796/0.5768, allocations: 8.864 MB / 0.5411 GB, free: 4.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.5817, allocations: 1.003 MB / 0.5421 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.08596/0.6677, allocations: 62.45 MB / 0.6031 GB, free: 14.13 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009428/0.6771, allocations: 5.558 MB / 0.6085 GB, free: 8.531 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003477/0.6806, allocations: 1.837 MB / 0.6103 GB, free: 6.688 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003821/0.6845, allocations: 2.839 MB / 0.6131 GB, free: 3.84 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006571/0.6852, allocations: 204 kB / 0.6133 GB, free: 3.641 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.6876, allocations: 1.163 MB / 0.6144 GB, free: 2.477 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002423/0.69, allocations: 2.396 MB / 0.6168 GB, free: 76 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001477/0.6915, allocations: 1.088 MB / 0.6178 GB, free: 14.97 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007672/0.6992, allocations: 7.217 MB / 0.6249 GB, free: 7.738 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.6992, allocations: 0 / 0.6249 GB, free: 7.738 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6993, allocations: 4 kB / 0.6249 GB, free: 7.734 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003001/0.6996, allocations: 0 / 0.6249 GB, free: 7.734 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.0135/0.7131, allocations: 5.653 MB / 0.6304 GB, free: 2.004 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.253e-05/0.7131, allocations: 8.031 kB / 0.6304 GB, free: 1.996 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02236/0.7355, allocations: 3.378 MB / 0.6337 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01048/0.746, allocations: 4.016 MB / 0.6376 GB, free: 10.53 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003431/0.7464, allocations: 323.9 kB / 0.6379 GB, free: 10.21 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.7483, allocations: 423.6 kB / 0.6383 GB, free: 9.797 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03417/0.7825, allocations: 13.81 MB / 0.6518 GB, free: 11.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003625/0.7829, allocations: 55.44 kB / 0.6519 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002814/0.7857, allocations: 199.8 kB / 0.6521 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004881/0.7906, allocations: 2.523 MB / 0.6545 GB, free: 8.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0288/0.8194, allocations: 11.78 MB / 0.666 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3521/1.172, allocations: 53.72 MB / 0.7185 GB, free: 162 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/1.189, allocations: 5.906 MB / 0.7243 GB, free: 161.3 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004919/1.194, allocations: 3.579 MB / 0.7278 GB, free: 160.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02265/1.217, allocations: 15.45 MB / 0.7429 GB, free: 152.4 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.372e-05/1.217, allocations: 65.75 kB / 0.7429 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 6.783e-06/1.217, allocations: 1.078 kB / 0.7429 GB, free: 152.3 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.08082/1.298, allocations: 28.64 MB / 0.7709 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/1.298, allocations: 260.8 kB / 0.7711 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007673/1.306, allocations: 5.033 MB / 0.7761 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005719/1.306, allocations: 65.7 kB / 0.7761 GB, free: 125.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002165/1.308, allocations: 3.886 MB / 0.7799 GB, free: 121.5 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001188/1.31, allocations: 1.005 MB / 0.7809 GB, free: 120.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006536/1.31, allocations: 152 kB / 0.781 GB, free: 120.4 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0004347/1.311, allocations: 0.6358 MB / 0.7817 GB, free: 119.7 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004143/1.315, allocations: 2.978 MB / 0.7846 GB, free: 116.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005823/1.321, allocations: 7.315 MB / 0.7917 GB, free: 107.5 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005999/1.327, allocations: 4.526 MB / 0.7961 GB, free: 103.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/1.327, allocations: 48 kB / 0.7962 GB, free: 103.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01783/1.345, allocations: 11.12 MB / 0.807 GB, free: 92.03 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001513/1.345, allocations: 75.98 kB / 0.8071 GB, free: 91.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002384/1.345, allocations: 148 kB / 0.8072 GB, free: 91.81 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/1.348, allocations: 1.234 MB / 0.8085 GB, free: 90.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006627/1.355, allocations: 1.836 MB / 0.8102 GB, free: 88.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008784/1.363, allocations: 7.771 MB / 0.8178 GB, free: 80.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006739/1.37, allocations: 436.9 kB / 0.8183 GB, free: 80.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001425/1.372, allocations: 448 kB / 0.8187 GB, free: 79.86 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * 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 (954): * Single equations (assignments): 949 * 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 {(2,100.0%) 12,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005448/1.377, allocations: 2.639 MB / 0.8213 GB, free: 77.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00121/1.378, allocations: 466 kB / 0.8217 GB, free: 76.75 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0085/1.387, allocations: 5.215 MB / 0.8268 GB, free: 71.51 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.44e-05/1.387, allocations: 28 kB / 0.8268 GB, free: 71.48 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.62e-05/1.387, allocations: 4.875 kB / 0.8268 GB, free: 71.48 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-05/1.387, allocations: 15.91 kB / 0.8268 GB, free: 71.46 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02216/1.409, allocations: 11.73 MB / 0.8383 GB, free: 59.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/1.409, allocations: 4 kB / 0.8383 GB, free: 59.72 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002277/1.412, allocations: 0.4992 MB / 0.8388 GB, free: 59.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00233/1.414, allocations: 0.977 MB / 0.8397 GB, free: 58.24 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003437/1.414, allocations: 49.62 kB / 0.8398 GB, free: 58.19 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006797/1.421, allocations: 7.115 MB / 0.8467 GB, free: 50.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.421, allocations: 4 kB / 0.8467 GB, free: 50.81 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01298/1.434, allocations: 8.7 MB / 0.8552 GB, free: 42.04 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001554/1.436, allocations: 0.499 MB / 0.8557 GB, free: 41.51 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/1.437, allocations: 47.33 kB / 0.8558 GB, free: 41.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002841/1.44, allocations: 183.8 kB / 0.8559 GB, free: 41.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005025/1.441, allocations: 151.1 kB / 0.8561 GB, free: 41.14 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002943/1.441, allocations: 72.08 kB / 0.8562 GB, free: 41.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005233/1.446, allocations: 3.134 MB / 0.8592 GB, free: 37.95 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.21e-07/1.446, allocations: 0 / 0.8592 GB, free: 37.95 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007963/1.454, allocations: 1.371 MB / 0.8606 GB, free: 36.59 MB / 0.5294 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 (227): * Single equations (assignments): 222 * 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.0006955/1.455, allocations: 186.9 kB / 0.8607 GB, free: 36.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.465, allocations: 7.264 MB / 0.8678 GB, free: 29.14 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/1.465, allocations: 4 kB / 0.8678 GB, free: 29.13 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00309/1.468, allocations: 2.544 MB / 0.8703 GB, free: 26.57 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003619/1.472, allocations: 0.5728 MB / 0.8709 GB, free: 26 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01987/1.492, allocations: 14.99 MB / 0.8855 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003771/1.496, allocations: 4.109 MB / 0.8895 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005739/1.501, allocations: 2.368 MB / 0.8919 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001079/1.502, allocations: 319.4 kB / 0.8922 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of SimCode: time 1.723e-06/1.502, allocations: 0 / 0.8922 GB, free: 4.152 MB / 0.5294 GB Notification: Performance of Templates: time 0.3565/1.859, allocations: 48.33 MB / 0.9394 GB, free: 183.2 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches