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.001243/0.001242, allocations: 175.8 kB / 16.76 MB, free: 5.051 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.286/1.286, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007381/0.0007382, allocations: 90.5 kB / 271.3 MB, free: 8.246 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.3324/0.3324, allocations: 43.57 MB / 363.1 MB, free: 52.19 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003236/0.0003236, allocations: 15.98 kB / 432.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1136, allocations: 58.84 MB / 491.5 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3316/0.4452, allocations: 111.9 MB / 0.5892 GB, free: 6.039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.4455, allocations: 80.47 kB / 0.5893 GB, free: 5.961 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4872/0.9327, allocations: 109.7 MB / 0.6964 GB, free: 88.39 MB / 490.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.9328, allocations: 3.406 kB / 0.6964 GB, free: 88.39 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004612/0.9333, allocations: 118.7 kB / 0.6965 GB, free: 88.39 MB / 490.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.02046/0.9537, allocations: 6.103 MB / 0.7025 GB, free: 85.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.9538, allocations: 9.875 kB / 0.7025 GB, free: 85.93 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02152/0.9753, allocations: 5.251 MB / 0.7076 GB, free: 85.53 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/0.9908, allocations: 5.965 MB / 0.7134 GB, free: 84.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006481/0.9915, allocations: 412.9 kB / 0.7138 GB, free: 84.62 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002943/0.9944, allocations: 0.5377 MB / 0.7144 GB, free: 84.62 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03346/1.028, allocations: 13.96 MB / 0.728 GB, free: 81.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002531/1.028, allocations: 77.92 kB / 0.7281 GB, free: 81.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001011/1.029, allocations: 271.1 kB / 0.7283 GB, free: 81.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001507/1.031, allocations: 1.362 MB / 0.7297 GB, free: 81.26 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02194/1.053, allocations: 11.52 MB / 0.7409 GB, free: 77.8 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06159/1.114, allocations: 60.61 MB / 0.8001 GB, free: 33.87 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01472/1.129, allocations: 5.777 MB / 0.8057 GB, free: 31.85 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003847/1.133, allocations: 3.283 MB / 0.8089 GB, free: 30.42 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01817/1.151, allocations: 14.63 MB / 0.8232 GB, free: 17.62 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.713e-05/1.151, allocations: 56.56 kB / 0.8233 GB, free: 17.56 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 5.801e-06/1.151, allocations: 0 / 0.8233 GB, free: 17.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=264): time 0.0684/1.22, allocations: 25.3 MB / 0.848 GB, free: 9.828 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001486/1.22, allocations: 265.2 kB / 0.8482 GB, free: 9.512 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008334/1.228, allocations: 5.032 MB / 0.8531 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006254/1.229, allocations: 61.7 kB / 0.8532 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003126/1.232, allocations: 3.979 MB / 0.8571 GB, free: 452 kB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.2406/1.473, allocations: 0.984 MB / 0.8581 GB, free: 99.1 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008704/1.474, allocations: 149.4 kB / 0.8582 GB, free: 99.1 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005176/1.474, allocations: 0.6129 MB / 0.8588 GB, free: 98.79 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005354/1.479, allocations: 2.577 MB / 0.8613 GB, free: 98.77 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008052/1.488, allocations: 6.941 MB / 0.8681 GB, free: 93.21 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.499, allocations: 10.38 MB / 0.8782 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002656/1.5, allocations: 43.22 kB / 0.8783 GB, free: 87.64 MB / 0.4948 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02109/1.521, allocations: 9.725 MB / 0.8878 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001469/1.521, allocations: 70.91 kB / 0.8878 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000253/1.521, allocations: 154.3 kB / 0.888 GB, free: 86.61 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/1.523, allocations: 0.5679 MB / 0.8885 GB, free: 86.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006115/1.529, allocations: 1.739 MB / 0.8902 GB, free: 86.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005748/1.535, allocations: 5.638 MB / 0.8957 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007044/1.542, allocations: 406.4 kB / 0.8961 GB, free: 83.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/1.544, allocations: 442.3 kB / 0.8966 GB, free: 83.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 696 * 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 (916): * Single equations (assignments): 911 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007098/1.551, allocations: 2.646 MB / 0.8991 GB, free: 83.28 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001246/1.552, allocations: 470.1 kB / 0.8996 GB, free: 83.28 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007314/1.559, allocations: 4.014 MB / 0.9035 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-05/1.56, allocations: 27.56 kB / 0.9035 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/1.56, allocations: 5.125 kB / 0.9035 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.708e-05/1.56, allocations: 13.23 kB / 0.9035 GB, free: 81.65 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02217/1.582, allocations: 10.29 MB / 0.9136 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.025e-05/1.582, allocations: 4.438 kB / 0.9136 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002199/1.584, allocations: 466.9 kB / 0.914 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009556/1.585, allocations: 348.8 kB / 0.9144 GB, free: 77.75 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001956/1.585, allocations: 41.84 kB / 0.9144 GB, free: 77.72 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/1.59, allocations: 4.97 MB / 0.9193 GB, free: 74.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.59, allocations: 0 / 0.9193 GB, free: 74.06 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/1.6, allocations: 7.053 MB / 0.9262 GB, free: 71.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002487/1.603, allocations: 0.8286 MB / 0.927 GB, free: 70.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008192/1.604, allocations: 45.06 kB / 0.927 GB, free: 70.53 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/1.606, allocations: 164.8 kB / 0.9272 GB, free: 70.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003567/1.606, allocations: 138 kB / 0.9273 GB, free: 70.48 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001654/1.606, allocations: 72.52 kB / 0.9274 GB, free: 70.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.005684/1.612, allocations: 3.137 MB / 0.9304 GB, free: 69.43 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.9e-07/1.612, allocations: 0 / 0.9304 GB, free: 69.43 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008078/1.62, allocations: 1.293 MB / 0.9317 GB, free: 69.28 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 (224): * Single equations (assignments): 219 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006809/1.621, allocations: 199.3 kB / 0.9319 GB, free: 69.14 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01045/1.631, allocations: 6.458 MB / 0.9382 GB, free: 66.74 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.631, allocations: 0 / 0.9382 GB, free: 66.74 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002929/1.634, allocations: 2.216 MB / 0.9404 GB, free: 65.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004643/1.639, allocations: 0.5988 MB / 0.9409 GB, free: 65.49 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02409/1.663, allocations: 14.47 MB / 0.9551 GB, free: 58.1 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005407/1.669, allocations: 4.113 MB / 0.9591 GB, free: 56.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006673/1.675, allocations: 2.392 MB / 0.9614 GB, free: 56.45 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/1.676, allocations: 325.2 kB / 0.9617 GB, free: 56.43 MB / 0.4948 GB Notification: Performance of SimCode: time 1.031e-06/1.677, allocations: 0 / 0.9617 GB, free: 56.43 MB / 0.4948 GB Notification: Performance of Templates: time 0.08797/1.764, allocations: 45.12 MB / 1.006 GB, free: 26.82 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/jenkins1/ws/OpenModelicaLibraryTestingWork/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