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.001215/0.001216, allocations: 104.7 kB / 17.63 MB, free: 5.344 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.001457/0.001457, allocations: 192 kB / 18.56 MB, free: 4.434 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.318/1.318, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2028/0.2028, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 61.23 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1383, allocations: 60.82 MB / 469.2 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.01586/0.1541, allocations: 15.01 MB / 484.3 MB, free: 15.3 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1642, allocations: 4.999 MB / 489.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002615/0.1668, allocations: 107.7 kB / 489.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007425/0.1743, allocations: 4.011 MB / 493.4 MB, free: 6.16 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006096/0.1804, allocations: 2.346 MB / 495.7 MB, free: 3.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002758/0.1832, allocations: 1.162 MB / 496.9 MB, free: 2.641 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009008/0.1922, allocations: 6.511 MB / 0.4916 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00666/0.1989, allocations: 4.698 MB / 0.4962 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00486/0.2038, allocations: 2.227 MB / 0.4984 GB, free: 5.113 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004851/0.2087, allocations: 3.01 MB / 0.5013 GB, free: 2.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001585/0.2103, allocations: 460 kB / 0.5017 GB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003439/0.2137, allocations: 1.549 MB / 0.5032 GB, free: 96 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2128/0.4266, allocations: 2.692 MB / 0.5059 GB, free: 20.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005059/0.4317, allocations: 3.018 MB / 0.5088 GB, free: 19.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.443, allocations: 9.171 MB / 0.5178 GB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.4431, allocations: 0 / 0.5178 GB, free: 18.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4431, allocations: 1.219 kB / 0.5178 GB, free: 18.14 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003406/0.4434, allocations: 1.188 kB / 0.5178 GB, free: 18.14 MB / 382.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.01733/0.4608, allocations: 6.749 MB / 0.5244 GB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4608, allocations: 9.625 kB / 0.5244 GB, free: 15.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02583/0.4867, allocations: 3.306 MB / 0.5276 GB, free: 15.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01117/0.4979, allocations: 4.092 MB / 0.5316 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002126/0.4981, allocations: 314.3 kB / 0.5319 GB, free: 12.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/0.5, allocations: 425.5 kB / 0.5323 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02413/0.5242, allocations: 13.81 MB / 0.5458 GB, free: 4.148 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000153/0.5244, allocations: 57.59 kB / 0.5459 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005787/0.5249, allocations: 201.2 kB / 0.546 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003202/0.5282, allocations: 2.522 MB / 0.5485 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02465/0.5528, allocations: 11.81 MB / 0.56 GB, free: 5.891 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08015/0.633, allocations: 53.71 MB / 0.6125 GB, free: 15.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0177/0.6507, allocations: 5.909 MB / 0.6183 GB, free: 9.32 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005849/0.6566, allocations: 3.592 MB / 0.6218 GB, free: 5.723 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0257/0.6823, allocations: 15.44 MB / 0.6369 GB, free: 5.82 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.827e-05/0.6825, allocations: 58.62 kB / 0.6369 GB, free: 5.758 MB / 478.1 MB Notification: Performance of pre-optimization done (n=230): time 6.071e-06/0.6825, allocations: 3.938 kB / 0.6369 GB, free: 5.754 MB / 478.1 MB Notification: Performance of matching and sorting (n=267): time 0.09871/0.7812, allocations: 28.6 MB / 0.6648 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001521/0.7814, allocations: 264.2 kB / 0.6651 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00951/0.7909, allocations: 5.057 MB / 0.67 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001002/0.7919, allocations: 73.7 kB / 0.6701 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.004161/0.7961, allocations: 3.885 MB / 0.6739 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001622/0.7977, allocations: 0.9998 MB / 0.6749 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002335/0.8001, allocations: 1.546 MB / 0.6764 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.8002, allocations: 305.1 kB / 0.6767 GB, free: 12.94 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004583/0.8048, allocations: 3.002 MB / 0.6796 GB, free: 9.938 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008048/0.8129, allocations: 7.352 MB / 0.6868 GB, free: 0.543 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/0.8272, allocations: 11.1 MB / 0.6976 GB, free: 3.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001141/0.8274, allocations: 44 kB / 0.6977 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.2295/1.057, allocations: 11.19 MB / 0.7086 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001187/1.057, allocations: 72.88 kB / 0.7087 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002484/1.057, allocations: 154.8 kB / 0.7088 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003375/1.061, allocations: 1.226 MB / 0.71 GB, free: 182.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006189/1.067, allocations: 1.836 MB / 0.7118 GB, free: 182.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007886/1.075, allocations: 8.366 MB / 0.72 GB, free: 178.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00611/1.081, allocations: 427.2 kB / 0.7204 GB, free: 178.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001241/1.082, allocations: 450.5 kB / 0.7208 GB, free: 178.1 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.004401/1.087, allocations: 2.628 MB / 0.7234 GB, free: 177 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008556/1.087, allocations: 466.3 kB / 0.7238 GB, free: 177 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007269/1.095, allocations: 5.235 MB / 0.7289 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.436e-05/1.095, allocations: 33.72 kB / 0.729 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/1.095, allocations: 7.609 kB / 0.729 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.482e-05/1.095, allocations: 11.34 kB / 0.729 GB, free: 175.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01812/1.113, allocations: 11.73 MB / 0.7404 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/1.113, allocations: 4 kB / 0.7404 GB, free: 167.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002287/1.115, allocations: 0.4922 MB / 0.7409 GB, free: 167.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002265/1.118, allocations: 0.9957 MB / 0.7419 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001952/1.118, allocations: 47.03 kB / 0.7419 GB, free: 166.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006423/1.124, allocations: 7.698 MB / 0.7495 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.124, allocations: 0 / 0.7495 GB, free: 158.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/1.135, allocations: 8.735 MB / 0.758 GB, free: 149.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.137, allocations: 0.4951 MB / 0.7585 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/1.139, allocations: 45.02 kB / 0.7585 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003289/1.142, allocations: 180.2 kB / 0.7587 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006719/1.143, allocations: 137.8 kB / 0.7588 GB, free: 149 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.143, allocations: 72.61 kB / 0.7589 GB, free: 149 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004356/1.147, allocations: 3.162 MB / 0.762 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/1.147, allocations: 4 kB / 0.762 GB, free: 145.8 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006422/1.154, allocations: 1.375 MB / 0.7633 GB, free: 144.5 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.0004924/1.154, allocations: 195.2 kB / 0.7635 GB, free: 144.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01274/1.167, allocations: 10.11 MB / 0.7734 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.167, allocations: 0 / 0.7734 GB, free: 134.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002478/1.169, allocations: 2.563 MB / 0.7759 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/1.173, allocations: 0.5904 MB / 0.7765 GB, free: 131 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01657/1.189, allocations: 12.89 MB / 0.7891 GB, free: 118.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003366/1.193, allocations: 4.105 MB / 0.7931 GB, free: 114 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006135/1.199, allocations: 2.357 MB / 0.7954 GB, free: 111.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009914/1.2, allocations: 323.4 kB / 0.7957 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of SimCode: time 7.21e-07/1.2, allocations: 0 / 0.7957 GB, free: 111.3 MB / 0.5294 GB Notification: Performance of Templates: time 0.07535/1.275, allocations: 52.13 MB / 0.8466 GB, free: 59.46 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