Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001139/0.001139, allocations: 187 kB / 16.64 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.1 MB / 222.5 MB, free: 8.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009464/0.0009464, allocations: 105.1 kB / 269.9 MB, free: 8.438 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3062/0.3062, allocations: 43.49 MB / 360.7 MB, free: 51.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001019/0.001019, allocations: 51.92 kB / 429.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09677/0.0978, allocations: 57.77 MB / 487 MB, free: 12.55 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithMass): time 0.2329/0.3307, allocations: 63.96 MB / 0.5381 GB, free: 24.42 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.03684/0.3676, allocations: 13.1 MB / 0.5509 GB, free: 15.7 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01305/0.3807, allocations: 285.7 kB / 0.5511 GB, free: 15.66 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006792/0.3875, allocations: 4.013 MB / 0.555 GB, free: 13.79 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005415/0.393, allocations: 2.212 MB / 0.5572 GB, free: 12.8 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.3953, allocations: 1.071 MB / 0.5582 GB, free: 12.36 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.009976/0.4053, allocations: 8.911 MB / 0.567 GB, free: 9.777 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006679/0.412, allocations: 4.629 MB / 0.5715 GB, free: 8.102 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003466/0.4155, allocations: 2.015 MB / 0.5734 GB, free: 7.336 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004537/0.42, allocations: 3.24 MB / 0.5766 GB, free: 6.004 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001468/0.4215, allocations: 324.8 kB / 0.5769 GB, free: 6.004 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.425, allocations: 1.493 MB / 0.5784 GB, free: 5.367 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003444/0.4285, allocations: 2.615 MB / 0.5809 GB, free: 3.891 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004975/0.4335, allocations: 2.907 MB / 0.5838 GB, free: 1.746 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00928/0.4428, allocations: 9.066 MB / 0.5926 GB, free: 9.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.4428, allocations: 0 / 0.5926 GB, free: 9.328 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.342e-06/0.4428, allocations: 0 / 0.5926 GB, free: 9.328 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002268/0.4431, allocations: 0 / 0.5926 GB, free: 9.328 MB / 410.7 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.01383/0.4569, allocations: 6.773 MB / 0.5992 GB, free: 2.477 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.457, allocations: 8.031 kB / 0.5992 GB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02604/0.483, allocations: 3.304 MB / 0.6025 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009947/0.493, allocations: 4.199 MB / 0.6066 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002403/0.4933, allocations: 308.5 kB / 0.6069 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001086/0.4944, allocations: 431.6 kB / 0.6073 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0226/0.517, allocations: 13.82 MB / 0.6208 GB, free: 11.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001305/0.5171, allocations: 55.53 kB / 0.6208 GB, free: 11.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004512/0.5176, allocations: 203.8 kB / 0.621 GB, free: 11.23 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003656/0.5212, allocations: 2.519 MB / 0.6235 GB, free: 8.703 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02131/0.5426, allocations: 11.8 MB / 0.635 GB, free: 12.89 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06333/0.6059, allocations: 53.73 MB / 0.6875 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1897/0.7957, allocations: 5.907 MB / 0.6932 GB, free: 152.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00529/0.801, allocations: 3.593 MB / 0.6967 GB, free: 151.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02228/0.8233, allocations: 15.45 MB / 0.7118 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/0.8234, allocations: 60.75 kB / 0.7119 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=230): time 5.04e-06/0.8234, allocations: 3.781 kB / 0.7119 GB, free: 143.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=267): time 0.07559/0.899, allocations: 28.63 MB / 0.7399 GB, free: 134.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.214e-05/0.8991, allocations: 258.8 kB / 0.7401 GB, free: 134.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005891/0.905, allocations: 5.092 MB / 0.7451 GB, free: 132.6 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004034/0.9055, allocations: 64.89 kB / 0.7451 GB, free: 132.5 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001678/0.9071, allocations: 3.891 MB / 0.7489 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007112/0.9079, allocations: 1.008 MB / 0.7499 GB, free: 128.8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001483/0.9094, allocations: 1.545 MB / 0.7514 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 3.603e-05/0.9094, allocations: 304.9 kB / 0.7517 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003119/0.9125, allocations: 3.008 MB / 0.7547 GB, free: 126.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004478/0.917, allocations: 7.345 MB / 0.7618 GB, free: 120 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008757/0.9258, allocations: 11.09 MB / 0.7727 GB, free: 108.8 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/0.9259, allocations: 44 kB / 0.7727 GB, free: 108.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.01486/0.9408, allocations: 11.2 MB / 0.7836 GB, free: 98.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/0.9409, allocations: 68 kB / 0.7837 GB, free: 98.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.721e-05/0.941, allocations: 152 kB / 0.7839 GB, free: 97.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.9435, allocations: 1.225 MB / 0.785 GB, free: 96.68 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005103/0.9486, allocations: 1.833 MB / 0.7868 GB, free: 94.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00679/0.9554, allocations: 7.782 MB / 0.7944 GB, free: 86.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004992/0.9605, allocations: 427.4 kB / 0.7948 GB, free: 86.4 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006476/0.9611, allocations: 452 kB / 0.7953 GB, free: 85.96 MB / 0.4948 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.002994/0.9641, allocations: 2.634 MB / 0.7978 GB, free: 83.32 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006522/0.9648, allocations: 465.9 kB / 0.7983 GB, free: 82.86 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007067/0.9719, allocations: 5.234 MB / 0.8034 GB, free: 77.6 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.9719, allocations: 28 kB / 0.8034 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.9719, allocations: 4 kB / 0.8034 GB, free: 77.57 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.758e-05/0.9719, allocations: 15.89 kB / 0.8035 GB, free: 77.55 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/0.9885, allocations: 11.76 MB / 0.8149 GB, free: 65.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/0.9885, allocations: 2.531 kB / 0.8149 GB, free: 65.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/0.9908, allocations: 0.4992 MB / 0.8154 GB, free: 65.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002311/0.9931, allocations: 0.9823 MB / 0.8164 GB, free: 64.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001808/0.9933, allocations: 53.41 kB / 0.8164 GB, free: 64.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/0.9993, allocations: 7.12 MB / 0.8234 GB, free: 56.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.9993, allocations: 4.641 kB / 0.8234 GB, free: 56.87 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06182/1.061, allocations: 45.47 MB / 0.8678 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/1.063, allocations: 0.8778 MB / 0.8686 GB, free: 10 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/1.064, allocations: 51.92 kB / 0.8687 GB, free: 9.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00195/1.066, allocations: 179.2 kB / 0.8689 GB, free: 9.777 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000376/1.066, allocations: 141.7 kB / 0.869 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001691/1.066, allocations: 79.88 kB / 0.8691 GB, free: 9.566 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003624/1.07, allocations: 3.178 MB / 0.8722 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.7e-07/1.07, allocations: 0 / 0.8722 GB, free: 6.402 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006606/1.076, allocations: 1.814 MB / 0.874 GB, free: 4.594 MB / 0.4948 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.0004541/1.077, allocations: 188.9 kB / 0.8741 GB, free: 4.406 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1769/1.254, allocations: 7.3 MB / 0.8813 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.254, allocations: 1.375 kB / 0.8813 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003298/1.257, allocations: 2.561 MB / 0.8838 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/1.26, allocations: 0.5529 MB / 0.8843 GB, free: 139.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.281, allocations: 17.52 MB / 0.9014 GB, free: 131.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003852/1.285, allocations: 4.206 MB / 0.9055 GB, free: 129.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005545/1.29, allocations: 2.41 MB / 0.9079 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/1.292, allocations: 342.5 kB / 0.9082 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/1.292, allocations: 0 / 0.9082 GB, free: 129.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.08683/1.378, allocations: 62.34 MB / 0.9691 GB, free: 91.97 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches