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.0009829/0.0009831, allocations: 183.5 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.346/1.346, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0008695/0.0008694, allocations: 89.14 kB / 267 MB, free: 9.289 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.3658/0.3658, allocations: 43.47 MB / 358.6 MB, free: 51.61 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.603e-05, allocations: 7.984 kB / 425.3 MB, free: 8.199 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 58.84 MB / 484.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3954/0.5247, allocations: 111.6 MB / 0.5818 GB, free: 10.3 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001745/0.5249, allocations: 75.47 kB / 0.5819 GB, free: 10.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2922/0.8171, allocations: 111.4 MB / 0.6907 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8172, allocations: 0 / 0.6907 GB, free: 3.457 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004495/0.8176, allocations: 115.9 kB / 0.6908 GB, free: 3.344 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.2922/1.11, allocations: 5.866 MB / 0.6966 GB, free: 85.78 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/1.11, allocations: 13.44 kB / 0.6966 GB, free: 85.78 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.027/1.137, allocations: 6.905 MB / 0.7033 GB, free: 85.4 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01811/1.155, allocations: 7.079 MB / 0.7102 GB, free: 84.98 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005034/1.156, allocations: 413.6 kB / 0.7106 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003221/1.159, allocations: 0.5439 MB / 0.7112 GB, free: 84.97 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03205/1.191, allocations: 14.02 MB / 0.7248 GB, free: 81.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003598/1.191, allocations: 78.88 kB / 0.7249 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002069/1.193, allocations: 261 kB / 0.7252 GB, free: 81.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001742/1.195, allocations: 1.361 MB / 0.7265 GB, free: 81.86 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02582/1.221, allocations: 11.57 MB / 0.7378 GB, free: 81.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06448/1.286, allocations: 60.73 MB / 0.7971 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01474/1.3, allocations: 5.78 MB / 0.8028 GB, free: 38.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004443/1.305, allocations: 3.241 MB / 0.8059 GB, free: 37.38 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01953/1.324, allocations: 14.73 MB / 0.8203 GB, free: 29.27 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/1.325, allocations: 61.5 kB / 0.8204 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 5.851e-06/1.325, allocations: 0 / 0.8204 GB, free: 29.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.06607/1.391, allocations: 21.88 MB / 0.8417 GB, free: 20.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.285e-05/1.391, allocations: 268.5 kB / 0.842 GB, free: 20.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007028/1.398, allocations: 4.414 MB / 0.8463 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007677/1.399, allocations: 61.7 kB / 0.8463 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002523/1.401, allocations: 3.988 MB / 0.8502 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001164/1.402, allocations: 0.9942 MB / 0.8512 GB, free: 12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000368/1.403, allocations: 144 kB / 0.8513 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003002/1.403, allocations: 0.6197 MB / 0.852 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003351/1.406, allocations: 2.519 MB / 0.8544 GB, free: 9.059 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005234/1.412, allocations: 6.857 MB / 0.8611 GB, free: 440 kB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009661/1.421, allocations: 4.381 MB / 0.8654 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.422, allocations: 44 kB / 0.8654 GB, free: 13.51 MB / 0.5105 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.0189/1.44, allocations: 9.622 MB / 0.8748 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001083/1.441, allocations: 72 kB / 0.8749 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/1.441, allocations: 152 kB / 0.875 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/1.442, allocations: 0.5915 MB / 0.8756 GB, free: 4.266 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006412/1.449, allocations: 1.74 MB / 0.8773 GB, free: 2.758 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006565/1.455, allocations: 5.626 MB / 0.8828 GB, free: 13.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006224/1.461, allocations: 405.6 kB / 0.8832 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/1.463, allocations: 442.1 kB / 0.8836 GB, free: 12.62 MB / 0.5261 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 () * 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.001413/1.464, allocations: 0.673 MB / 0.8843 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001196/1.466, allocations: 469.9 kB / 0.8847 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007346/1.473, allocations: 3.988 MB / 0.8886 GB, free: 8.133 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.653e-05/1.473, allocations: 28 kB / 0.8886 GB, free: 8.105 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.473, allocations: 4 kB / 0.8886 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.177e-05/1.473, allocations: 10.08 kB / 0.8887 GB, free: 8.102 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2817/1.755, allocations: 10.24 MB / 0.8987 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-05/1.755, allocations: 0.9688 kB / 0.8987 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003089/1.758, allocations: 470.5 kB / 0.8991 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001393/1.759, allocations: 344.7 kB / 0.8994 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006205/1.76, allocations: 43.66 kB / 0.8995 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005545/1.766, allocations: 4.954 MB / 0.9043 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/1.766, allocations: 2.188 kB / 0.9043 GB, free: 102.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01016/1.776, allocations: 7.08 MB / 0.9112 GB, free: 101.5 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002436/1.778, allocations: 0.8232 MB / 0.912 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009187/1.779, allocations: 47.05 kB / 0.9121 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.781, allocations: 162.4 kB / 0.9122 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003936/1.782, allocations: 146.6 kB / 0.9124 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/1.782, allocations: 64.97 kB / 0.9124 GB, free: 101.4 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.004906/1.787, allocations: 3.093 MB / 0.9155 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/1.787, allocations: 0 / 0.9155 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006059/1.793, allocations: 1.3 MB / 0.9167 GB, free: 101.2 MB / 0.5261 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 (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.0005726/1.793, allocations: 194.1 kB / 0.9169 GB, free: 101.1 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.009721/1.803, allocations: 6.372 MB / 0.9231 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.003e-06/1.803, allocations: 3.281 kB / 0.9231 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00271/1.806, allocations: 2.175 MB / 0.9253 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002908/1.809, allocations: 0.56 MB / 0.9258 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.829, allocations: 10.11 MB / 0.9357 GB, free: 98.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005533/1.835, allocations: 4.227 MB / 0.9398 GB, free: 97.86 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00742/1.842, allocations: 2.392 MB / 0.9421 GB, free: 97.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.843, allocations: 324 kB / 0.9425 GB, free: 97.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.223e-06/1.843, allocations: 0 / 0.9425 GB, free: 97.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.08388/1.927, allocations: 44.94 MB / 0.9863 GB, free: 95.71 MB / 0.5261 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/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