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: 110.3 kB / 17.98 MB, free: 5.238 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.001222/0.001222, allocations: 193.3 kB / 18.9 MB, free: 4.32 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.34/1.34, allocations: 222.9 MB / 242.6 MB, free: 13.59 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.2051/0.2051, allocations: 44.18 MB / 336.9 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 64.22 kB / 408.5 MB, free: 27.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1108, allocations: 60.82 MB / 469.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2734/0.3842, allocations: 63.92 MB / 0.5208 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03055/0.4148, allocations: 12.98 MB / 0.5335 GB, free: 5.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01761/0.4325, allocations: 281.2 kB / 0.5337 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007268/0.4398, allocations: 3.879 MB / 0.5375 GB, free: 4.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006875/0.4468, allocations: 2.194 MB / 0.5397 GB, free: 3.855 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.4496, allocations: 1.086 MB / 0.5407 GB, free: 3.211 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009287/0.4589, allocations: 6.905 MB / 0.5475 GB, free: 15.95 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007873/0.4668, allocations: 4.943 MB / 0.5523 GB, free: 12.84 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.4717, allocations: 2.271 MB / 0.5545 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005309/0.4771, allocations: 3.352 MB / 0.5578 GB, free: 7.508 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001859/0.479, allocations: 456 kB / 0.5582 GB, free: 7.062 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004213/0.4832, allocations: 1.57 MB / 0.5598 GB, free: 5.547 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004083/0.4873, allocations: 2.749 MB / 0.5624 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005973/0.4933, allocations: 3.043 MB / 0.5654 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.5038, allocations: 7.452 MB / 0.5727 GB, free: 8.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.408e-06/0.5038, allocations: 4 kB / 0.5727 GB, free: 8.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.5039, allocations: 0 / 0.5727 GB, free: 8.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003961/0.5043, allocations: 4 kB / 0.5727 GB, free: 8.516 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.01875/0.523, allocations: 6.746 MB / 0.5793 GB, free: 1.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.5231, allocations: 8.031 kB / 0.5793 GB, free: 1.809 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02587/0.549, allocations: 3.303 MB / 0.5825 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01088/0.5599, allocations: 4.088 MB / 0.5865 GB, free: 10.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003917/0.5603, allocations: 314.8 kB / 0.5868 GB, free: 10.13 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/0.5626, allocations: 431 kB / 0.5872 GB, free: 9.754 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/0.5945, allocations: 13.81 MB / 0.6007 GB, free: 11.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003648/0.5949, allocations: 59.44 kB / 0.6008 GB, free: 11.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001897/0.5968, allocations: 199.8 kB / 0.601 GB, free: 10.99 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00446/0.6013, allocations: 2.522 MB / 0.6034 GB, free: 8.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02683/0.6281, allocations: 11.81 MB / 0.615 GB, free: 12.67 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07692/0.7051, allocations: 53.71 MB / 0.6674 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01676/0.7219, allocations: 5.905 MB / 0.6732 GB, free: 15.65 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004905/0.7269, allocations: 3.605 MB / 0.6767 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02231/0.7492, allocations: 15.44 MB / 0.6918 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.158e-05/0.7493, allocations: 64.5 kB / 0.6918 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=230): time 5.1e-06/0.7493, allocations: 0 / 0.6918 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=267): time 0.3188/1.068, allocations: 28.59 MB / 0.7198 GB, free: 185.5 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.718e-05/1.068, allocations: 264.7 kB / 0.72 GB, free: 185.2 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007028/1.075, allocations: 5.063 MB / 0.725 GB, free: 183.4 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005937/1.076, allocations: 65.58 kB / 0.725 GB, free: 183.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001988/1.078, allocations: 3.887 MB / 0.7288 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001084/1.079, allocations: 1.004 MB / 0.7298 GB, free: 179.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002061/1.081, allocations: 1.54 MB / 0.7313 GB, free: 178.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 4.322e-05/1.081, allocations: 309 kB / 0.7316 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003712/1.085, allocations: 3.006 MB / 0.7345 GB, free: 177.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005965/1.091, allocations: 7.347 MB / 0.7417 GB, free: 170.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01053/1.101, allocations: 11.1 MB / 0.7525 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/1.102, allocations: 44 kB / 0.7526 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01821/1.12, allocations: 11.21 MB / 0.7635 GB, free: 149.4 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.12, allocations: 76.22 kB / 0.7636 GB, free: 149.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001594/1.12, allocations: 148 kB / 0.7637 GB, free: 149.2 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002822/1.123, allocations: 1.227 MB / 0.7649 GB, free: 147.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00588/1.129, allocations: 1.829 MB / 0.7667 GB, free: 146.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007696/1.137, allocations: 8.366 MB / 0.7749 GB, free: 137.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006402/1.143, allocations: 427.3 kB / 0.7753 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/1.144, allocations: 456 kB / 0.7757 GB, free: 136.6 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.004716/1.149, allocations: 2.625 MB / 0.7783 GB, free: 134 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001145/1.15, allocations: 465.9 kB / 0.7787 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00778/1.158, allocations: 5.233 MB / 0.7839 GB, free: 128.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.284e-05/1.158, allocations: 28 kB / 0.7839 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.837e-05/1.158, allocations: 4 kB / 0.7839 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.105e-05/1.158, allocations: 15.89 kB / 0.7839 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02034/1.179, allocations: 11.74 MB / 0.7954 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/1.179, allocations: 0 / 0.7954 GB, free: 116.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.181, allocations: 0.4954 MB / 0.7959 GB, free: 116 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/1.184, allocations: 0.991 MB / 0.7968 GB, free: 115 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004897/1.184, allocations: 47.98 kB / 0.7969 GB, free: 114.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006941/1.191, allocations: 7.708 MB / 0.8044 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.191, allocations: 0 / 0.8044 GB, free: 107 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01125/1.203, allocations: 8.722 MB / 0.8129 GB, free: 98.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001551/1.204, allocations: 0.4951 MB / 0.8134 GB, free: 97.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001271/1.206, allocations: 43.94 kB / 0.8134 GB, free: 97.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002507/1.208, allocations: 175.8 kB / 0.8136 GB, free: 97.43 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004475/1.209, allocations: 145.8 kB / 0.8137 GB, free: 97.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/1.209, allocations: 71.98 kB / 0.8138 GB, free: 97.22 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004312/1.213, allocations: 3.158 MB / 0.8169 GB, free: 94.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.31e-07/1.213, allocations: 0 / 0.8169 GB, free: 94.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0066/1.22, allocations: 1.372 MB / 0.8182 GB, free: 92.71 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.0006095/1.22, allocations: 193.4 kB / 0.8184 GB, free: 92.53 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01525/1.236, allocations: 10.13 MB / 0.8283 GB, free: 82.43 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.236, allocations: 0.875 kB / 0.8283 GB, free: 82.43 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003019/1.239, allocations: 2.564 MB / 0.8308 GB, free: 79.85 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003742/1.242, allocations: 0.5954 MB / 0.8314 GB, free: 79.27 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/1.264, allocations: 16.02 MB / 0.847 GB, free: 63.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004289/1.268, allocations: 4.074 MB / 0.851 GB, free: 59.12 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001547/1.27, allocations: 379.4 kB / 0.8514 GB, free: 58.75 MB / 0.5294 GB Notification: Performance of SimCode: time 9.72e-07/1.27, allocations: 0 / 0.8514 GB, free: 58.75 MB / 0.5294 GB Notification: Performance of Templates: time 0.3423/1.612, allocations: 124.6 MB / 0.973 GB, free: 112.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","/var/lib/jenkins1/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