Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.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.LineForceWithTwoMasses,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.LineForceWithTwoMasses") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,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.LineForceWithTwoMasses") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009999/0.001, allocations: 182.8 kB / 13.19 MB, free: 2.129 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.356/1.356, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.0008408/0.0008412, allocations: 81.02 kB / 267 MB, free: 9.281 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.3405/0.3405, allocations: 43.47 MB / 358.6 MB, free: 51.6 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.542e-05/3.568e-05, allocations: 4 kB / 425.3 MB, free: 8.203 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 58.84 MB / 484.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.5017, allocations: 112.7 MB / 0.5829 GB, free: 9.273 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.5021, allocations: 78.08 kB / 0.5829 GB, free: 9.234 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6126/1.115, allocations: 136.4 MB / 0.7162 GB, free: 83.53 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.345e-06/1.115, allocations: 3.094 kB / 0.7162 GB, free: 83.53 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004355/1.115, allocations: 132.5 kB / 0.7163 GB, free: 83.52 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02565/1.141, allocations: 7.049 MB / 0.7232 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/1.141, allocations: 9.75 kB / 0.7232 GB, free: 80.93 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03202/1.173, allocations: 7.571 MB / 0.7306 GB, free: 80.46 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/1.197, allocations: 9.806 MB / 0.7402 GB, free: 79.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006217/1.197, allocations: 489.6 kB / 0.7407 GB, free: 79.54 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00355/1.201, allocations: 0.6542 MB / 0.7413 GB, free: 79.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0383/1.239, allocations: 16.59 MB / 0.7575 GB, free: 75.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005463/1.24, allocations: 106.2 kB / 0.7576 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003187/1.243, allocations: 309.4 kB / 0.7579 GB, free: 75.48 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002123/1.245, allocations: 1.586 MB / 0.7594 GB, free: 75.46 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.025/1.27, allocations: 13.51 MB / 0.7726 GB, free: 73.64 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07616/1.346, allocations: 74.41 MB / 0.8453 GB, free: 35.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02024/1.367, allocations: 7.686 MB / 0.8528 GB, free: 31.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004899/1.372, allocations: 3.99 MB / 0.8567 GB, free: 28 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02629/1.398, allocations: 18.69 MB / 0.875 GB, free: 11.43 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/1.398, allocations: 68.25 kB / 0.875 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=287): time 4.779e-06/1.398, allocations: 4 kB / 0.875 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of matching and sorting (n=370): time 0.3931/1.791, allocations: 38.94 MB / 0.9131 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/1.791, allocations: 270.3 kB / 0.9133 GB, free: 92.32 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00782/1.799, allocations: 5.32 MB / 0.9185 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008845/1.8, allocations: 84.27 kB / 0.9186 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002443/1.802, allocations: 4.775 MB / 0.9233 GB, free: 89.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001755/1.804, allocations: 1.359 MB / 0.9246 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006153/1.805, allocations: 189.2 kB / 0.9248 GB, free: 88.88 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004182/1.805, allocations: 0.6912 MB / 0.9254 GB, free: 88.55 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005372/1.811, allocations: 3.669 MB / 0.929 GB, free: 88.53 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009089/1.82, allocations: 8.865 MB / 0.9377 GB, free: 81.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009066/1.829, allocations: 5.596 MB / 0.9431 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002825/1.829, allocations: 51.22 kB / 0.9432 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03601/1.865, allocations: 15.87 MB / 0.9587 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003623/1.866, allocations: 86.16 kB / 0.9588 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000408/1.866, allocations: 181.3 kB / 0.9589 GB, free: 78.03 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01192/1.878, allocations: 4.015 MB / 0.9629 GB, free: 77.44 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007234/1.885, allocations: 2.045 MB / 0.9649 GB, free: 77.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02736/1.913, allocations: 20.8 MB / 0.9852 GB, free: 67.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007968/1.921, allocations: 0.5472 MB / 0.9857 GB, free: 67.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001911/1.923, allocations: 0.522 MB / 0.9862 GB, free: 67.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1088): * Single equations (assignments): 1083 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00308/1.926, allocations: 0.8023 MB / 0.987 GB, free: 67.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00208/1.928, allocations: 0.5783 MB / 0.9876 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02133/1.949, allocations: 9.455 MB / 0.9968 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.429e-05/1.949, allocations: 38.84 kB / 0.9968 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.926e-05/1.949, allocations: 18 kB / 0.9969 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.779e-05/1.949, allocations: 17.86 kB / 0.9969 GB, free: 63.65 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03783/1.987, allocations: 18.95 MB / 1.015 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.415e-05/1.987, allocations: 7.953 kB / 1.015 GB, free: 55.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002608/1.99, allocations: 0.5063 MB / 1.016 GB, free: 54.94 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/2.001, allocations: 3.568 MB / 1.019 GB, free: 52.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008306/2.001, allocations: 60.98 kB / 1.019 GB, free: 52.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02433/2.026, allocations: 18.73 MB / 1.038 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/2.026, allocations: 7.391 kB / 1.038 GB, free: 36.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02376/2.05, allocations: 13.95 MB / 1.051 GB, free: 24.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003268/2.053, allocations: 1.13 MB / 1.052 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001774/2.055, allocations: 58.44 kB / 1.052 GB, free: 23.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004134/2.059, allocations: 216.5 kB / 1.053 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001175/2.06, allocations: 233 kB / 1.053 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005697/2.061, allocations: 91.7 kB / 1.053 GB, free: 23.31 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.008013/2.069, allocations: 3.72 MB / 1.057 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.81e-07/2.069, allocations: 0 / 1.057 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0107/2.079, allocations: 1.854 MB / 1.058 GB, free: 18.19 MB / 0.5105 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001003/2.08, allocations: 213.8 kB / 1.059 GB, free: 17.98 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01574/2.096, allocations: 9.5 MB / 1.068 GB, free: 9.289 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/2.096, allocations: 4.062 kB / 1.068 GB, free: 9.285 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005544/2.102, allocations: 3.725 MB / 1.072 GB, free: 5.891 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004366/2.106, allocations: 0.7211 MB / 1.072 GB, free: 5.289 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.278/2.384, allocations: 13.17 MB / 1.085 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006236/2.39, allocations: 5.024 MB / 1.09 GB, free: 93.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007084/2.398, allocations: 2.814 MB / 1.093 GB, free: 93.58 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/2.399, allocations: 374.2 kB / 1.093 GB, free: 93.57 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/2.399, allocations: 1.344 kB / 1.093 GB, free: 93.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.1198/2.518, allocations: 74.61 MB / 1.166 GB, free: 85.83 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/LineForceWithTwoMasses/LineForceWithTwoMasses.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches