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.001306/0.001306, allocations: 113.2 kB / 17.33 MB, free: 5.988 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.001143/0.001144, allocations: 193.3 kB / 18.25 MB, free: 5.086 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.399/1.399, allocations: 222.9 MB / 241.9 MB, free: 15.39 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2193/0.2193, allocations: 44.17 MB / 336.2 MB, free: 2.957 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 64.28 kB / 407.9 MB, free: 27.6 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1132, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2696/0.3829, allocations: 63.92 MB / 0.5201 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02922/0.4122, allocations: 12.98 MB / 0.5328 GB, free: 6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01295/0.4251, allocations: 284.7 kB / 0.5331 GB, free: 5.953 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006907/0.4321, allocations: 3.871 MB / 0.5369 GB, free: 4.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005994/0.4382, allocations: 2.197 MB / 0.539 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.4406, allocations: 1.089 MB / 0.5401 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007765/0.4484, allocations: 6.899 MB / 0.5468 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005762/0.4542, allocations: 4.94 MB / 0.5516 GB, free: 12.82 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003667/0.4579, allocations: 2.276 MB / 0.5539 GB, free: 10.67 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004965/0.4629, allocations: 3.348 MB / 0.5571 GB, free: 7.492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.4639, allocations: 460 kB / 0.5576 GB, free: 7.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002968/0.4669, allocations: 1.566 MB / 0.5591 GB, free: 5.531 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003123/0.47, allocations: 2.748 MB / 0.5618 GB, free: 2.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005115/0.4752, allocations: 3.041 MB / 0.5648 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01134/0.4865, allocations: 9.229 MB / 0.5738 GB, free: 6.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4866, allocations: 4 kB / 0.5738 GB, free: 6.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.093e-06/0.4866, allocations: 0 / 0.5738 GB, free: 6.727 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002669/0.4869, allocations: 0 / 0.5738 GB, free: 6.727 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01509/0.502, allocations: 6.754 MB / 0.5804 GB, free: 20 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.502, allocations: 11.97 kB / 0.5804 GB, free: 8 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02623/0.5283, allocations: 3.3 MB / 0.5836 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009457/0.5378, allocations: 4.092 MB / 0.5876 GB, free: 8.59 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002545/0.5381, allocations: 315.7 kB / 0.5879 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001289/0.5394, allocations: 423.7 kB / 0.5883 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/0.5653, allocations: 13.81 MB / 0.6018 GB, free: 9.406 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.5655, allocations: 59.52 kB / 0.6019 GB, free: 9.348 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007692/0.5663, allocations: 199.4 kB / 0.602 GB, free: 9.199 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003917/0.5702, allocations: 2.521 MB / 0.6045 GB, free: 6.688 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02467/0.5949, allocations: 11.8 MB / 0.616 GB, free: 10.88 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07354/0.6685, allocations: 53.73 MB / 0.6685 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01739/0.6859, allocations: 5.912 MB / 0.6743 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005422/0.6914, allocations: 3.597 MB / 0.6778 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02462/0.716, allocations: 15.44 MB / 0.6929 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.653e-05/0.7161, allocations: 64.5 kB / 0.6929 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 4.939e-06/0.7161, allocations: 0 / 0.6929 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.2911/1.007, allocations: 28.6 MB / 0.7208 GB, free: 185.4 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.013e-05/1.007, allocations: 264.7 kB / 0.7211 GB, free: 185.1 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00618/1.014, allocations: 5.059 MB / 0.726 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005184/1.014, allocations: 68.27 kB / 0.7261 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001776/1.016, allocations: 3.886 MB / 0.7299 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/1.017, allocations: 1 MB / 0.7309 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001675/1.019, allocations: 1.541 MB / 0.7324 GB, free: 178.8 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.16e-05/1.019, allocations: 312 kB / 0.7327 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003268/1.022, allocations: 3.006 MB / 0.7356 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00487/1.027, allocations: 7.346 MB / 0.7428 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009114/1.036, allocations: 11.1 MB / 0.7536 GB, free: 158.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.96e-05/1.036, allocations: 44 kB / 0.7537 GB, free: 158.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.0158/1.052, allocations: 11.2 MB / 0.7646 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.02e-05/1.052, allocations: 72 kB / 0.7647 GB, free: 147.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001205/1.052, allocations: 148 kB / 0.7648 GB, free: 147.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002623/1.055, allocations: 1.234 MB / 0.766 GB, free: 146.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005969/1.061, allocations: 1.829 MB / 0.7678 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008158/1.069, allocations: 8.36 MB / 0.776 GB, free: 135.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007737/1.077, allocations: 427.3 kB / 0.7764 GB, free: 135.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001378/1.078, allocations: 456 kB / 0.7768 GB, free: 134.9 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004364/1.082, allocations: 2.635 MB / 0.7794 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/1.083, allocations: 462 kB / 0.7798 GB, free: 131.8 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007374/1.091, allocations: 5.238 MB / 0.7849 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.628e-05/1.091, allocations: 31.88 kB / 0.785 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/1.091, allocations: 4 kB / 0.785 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.392e-05/1.091, allocations: 19.95 kB / 0.785 GB, free: 126.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.111, allocations: 11.73 MB / 0.7965 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.111, allocations: 0 / 0.7965 GB, free: 114.7 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002781/1.114, allocations: 0.5038 MB / 0.7969 GB, free: 114.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002484/1.116, allocations: 0.9853 MB / 0.7979 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003874/1.117, allocations: 47.98 kB / 0.798 GB, free: 113.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/1.124, allocations: 7.707 MB / 0.8055 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.124, allocations: 0 / 0.8055 GB, free: 105.2 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01175/1.135, allocations: 8.73 MB / 0.814 GB, free: 96.4 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/1.137, allocations: 0.4952 MB / 0.8145 GB, free: 95.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001493/1.139, allocations: 36 kB / 0.8145 GB, free: 95.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003032/1.142, allocations: 175.8 kB / 0.8147 GB, free: 95.68 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005884/1.142, allocations: 149.8 kB / 0.8148 GB, free: 95.53 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/1.143, allocations: 67.98 kB / 0.8149 GB, free: 95.46 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005527/1.148, allocations: 3.158 MB / 0.818 GB, free: 92.32 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.01e-07/1.148, allocations: 0 / 0.818 GB, free: 92.32 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007637/1.156, allocations: 1.372 MB / 0.8193 GB, free: 90.95 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007912/1.157, allocations: 191.8 kB / 0.8195 GB, free: 90.77 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01555/1.172, allocations: 10.13 MB / 0.8294 GB, free: 80.66 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.856e-06/1.172, allocations: 0 / 0.8294 GB, free: 80.66 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003369/1.176, allocations: 2.573 MB / 0.8319 GB, free: 78.08 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004329/1.18, allocations: 0.5946 MB / 0.8325 GB, free: 77.5 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.199, allocations: 15.52 MB / 0.8476 GB, free: 61.95 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005103/1.204, allocations: 4.101 MB / 0.8517 GB, free: 57.82 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006635/1.211, allocations: 2.368 MB / 0.854 GB, free: 55.45 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001589/1.213, allocations: 319.4 kB / 0.8543 GB, free: 55.14 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/1.213, allocations: 0 / 0.8543 GB, free: 55.14 MB / 0.5294 GB Notification: Performance of Templates: time 0.3417/1.554, allocations: 52.1 MB / 0.9051 GB, free: 165.9 MB / 0.5294 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