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.001069/0.001069, allocations: 109.4 kB / 17.78 MB, free: 5.25 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.001111/0.001111, allocations: 188.1 kB / 18.71 MB, free: 4.324 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.315/1.315, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.1962/0.1962, allocations: 44.19 MB / 336.7 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 59.91 kB / 470.5 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3381, allocations: 60.82 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.0138/0.352, allocations: 15.01 MB / 0.5336 GB, free: 8.719 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01425/0.3662, allocations: 4.987 MB / 0.5384 GB, free: 4.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002929/0.3692, allocations: 102.8 kB / 0.5385 GB, free: 4.773 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007163/0.3764, allocations: 4.021 MB / 0.5425 GB, free: 2.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006269/0.3828, allocations: 2.358 MB / 0.5448 GB, free: 384 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002678/0.3854, allocations: 1.157 MB / 0.5459 GB, free: 15.59 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.008531/0.394, allocations: 6.503 MB / 0.5523 GB, free: 9.828 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005872/0.3999, allocations: 4.696 MB / 0.5568 GB, free: 5.066 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003567/0.4035, allocations: 2.212 MB / 0.559 GB, free: 2.848 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004128/0.4076, allocations: 3.026 MB / 0.562 GB, free: 15.81 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001522/0.4092, allocations: 460 kB / 0.5624 GB, free: 15.36 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/0.4128, allocations: 1.545 MB / 0.5639 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003057/0.4159, allocations: 2.763 MB / 0.5666 GB, free: 11.05 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004011/0.4199, allocations: 3.022 MB / 0.5695 GB, free: 8.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009621/0.4295, allocations: 9.445 MB / 0.5788 GB, free: 14.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4295, allocations: 0 / 0.5788 GB, free: 14.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4296, allocations: 0 / 0.5788 GB, free: 14.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001744/0.4297, allocations: 0 / 0.5788 GB, free: 14.53 MB / 446.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.01205/0.4418, allocations: 6.749 MB / 0.5854 GB, free: 7.703 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.4418, allocations: 8.031 kB / 0.5854 GB, free: 7.695 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02262/0.4645, allocations: 3.304 MB / 0.5886 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008516/0.473, allocations: 4.183 MB / 0.5927 GB, free: 140 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002331/0.4733, allocations: 312.4 kB / 0.593 GB, free: 15.82 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001148/0.4744, allocations: 427.6 kB / 0.5934 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.4983, allocations: 13.81 MB / 0.6069 GB, free: 0.7266 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/0.4984, allocations: 59.42 kB / 0.6069 GB, free: 0.668 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005388/0.499, allocations: 203.8 kB / 0.6071 GB, free: 480 kB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003722/0.5027, allocations: 2.519 MB / 0.6096 GB, free: 13.95 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02113/0.5239, allocations: 11.81 MB / 0.6211 GB, free: 2.121 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06629/0.5902, allocations: 53.46 MB / 0.6733 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01577/0.606, allocations: 5.917 MB / 0.6791 GB, free: 5.066 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004563/0.6106, allocations: 3.592 MB / 0.6826 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02066/0.6313, allocations: 15.44 MB / 0.6977 GB, free: 1.453 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.6314, allocations: 68.5 kB / 0.6978 GB, free: 1.379 MB / 0.545 GB Notification: Performance of pre-optimization done (n=230): time 4.338e-06/0.6314, allocations: 0 / 0.6978 GB, free: 1.379 MB / 0.545 GB Notification: Performance of matching and sorting (n=267): time 0.3324/0.9638, allocations: 28.59 MB / 0.7257 GB, free: 166.4 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.964, allocations: 257.6 kB / 0.7259 GB, free: 166.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008173/0.9721, allocations: 5.061 MB / 0.7309 GB, free: 164.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0006371/0.9728, allocations: 67.08 kB / 0.7309 GB, free: 164.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002125/0.975, allocations: 3.888 MB / 0.7347 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001239/0.9762, allocations: 1.001 MB / 0.7357 GB, free: 160.5 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002321/0.9785, allocations: 1.548 MB / 0.7372 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.779e-05/0.9786, allocations: 306.6 kB / 0.7375 GB, free: 159.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003498/0.9821, allocations: 3.014 MB / 0.7405 GB, free: 158.5 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00502/0.9871, allocations: 7.344 MB / 0.7476 GB, free: 151.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009703/0.9969, allocations: 11.1 MB / 0.7585 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.756e-05/0.997, allocations: 45.62 kB / 0.7585 GB, free: 142.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01493/1.012, allocations: 11.19 MB / 0.7694 GB, free: 132 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.342e-05/1.012, allocations: 71.94 kB / 0.7695 GB, free: 131.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001068/1.012, allocations: 152 kB / 0.7697 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002457/1.015, allocations: 1.229 MB / 0.7709 GB, free: 130.5 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005027/1.02, allocations: 1.832 MB / 0.7726 GB, free: 128.7 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006984/1.027, allocations: 8.366 MB / 0.7808 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005601/1.032, allocations: 423.3 kB / 0.7812 GB, free: 119.7 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000635/1.033, allocations: 455.9 kB / 0.7816 GB, free: 119.2 MB / 0.5606 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.003787/1.037, allocations: 2.63 MB / 0.7842 GB, free: 116.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00114/1.038, allocations: 458.1 kB / 0.7847 GB, free: 116.1 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007141/1.045, allocations: 5.248 MB / 0.7898 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/1.045, allocations: 28 kB / 0.7898 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.045, allocations: 4 kB / 0.7898 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/1.045, allocations: 18.39 kB / 0.7898 GB, free: 110.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01517/1.06, allocations: 11.63 MB / 0.8012 GB, free: 99.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.229e-05/1.06, allocations: 3.938 kB / 0.8012 GB, free: 99.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002206/1.063, allocations: 0.4915 MB / 0.8017 GB, free: 98.69 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00216/1.065, allocations: 0.9964 MB / 0.8026 GB, free: 97.69 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002092/1.065, allocations: 43.83 kB / 0.8027 GB, free: 97.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006525/1.071, allocations: 7.687 MB / 0.8102 GB, free: 89.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/1.072, allocations: 0 / 0.8102 GB, free: 89.68 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01066/1.082, allocations: 8.741 MB / 0.8187 GB, free: 80.87 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/1.083, allocations: 0.4952 MB / 0.8192 GB, free: 80.35 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006136/1.084, allocations: 44.84 kB / 0.8193 GB, free: 80.31 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001848/1.086, allocations: 171.7 kB / 0.8194 GB, free: 80.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003151/1.086, allocations: 149.7 kB / 0.8196 GB, free: 79.99 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/1.086, allocations: 71.98 kB / 0.8196 GB, free: 79.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003371/1.09, allocations: 3.158 MB / 0.8227 GB, free: 76.78 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6.12e-07/1.09, allocations: 4.109 kB / 0.8227 GB, free: 76.77 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004942/1.095, allocations: 1.384 MB / 0.8241 GB, free: 75.4 MB / 0.5606 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.0004247/1.095, allocations: 173.5 kB / 0.8242 GB, free: 75.22 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007736/1.103, allocations: 7.342 MB / 0.8314 GB, free: 67.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/1.103, allocations: 0 / 0.8314 GB, free: 67.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00239/1.105, allocations: 2.562 MB / 0.8339 GB, free: 65.3 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002698/1.108, allocations: 0.5893 MB / 0.8345 GB, free: 64.71 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/1.124, allocations: 12.75 MB / 0.8469 GB, free: 51.96 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/1.127, allocations: 4.109 MB / 0.8509 GB, free: 47.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00471/1.132, allocations: 2.365 MB / 0.8532 GB, free: 45.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/1.133, allocations: 319.4 kB / 0.8536 GB, free: 45.13 MB / 0.5606 GB Notification: Performance of SimCode: time 8.41e-07/1.133, allocations: 0 / 0.8536 GB, free: 45.13 MB / 0.5606 GB Notification: Performance of Templates: time 0.07291/1.206, allocations: 47.99 MB / 0.9004 GB, free: 13.53 MB / 0.5762 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