Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_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_cpp_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.00216/0.002164, allocations: 182.3 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.285/2.285, allocations: 205.2 MB / 219.4 MB, free: 14.23 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.001097/0.001096, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.281/0.281, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.378e-05/3.386e-05, allocations: 8 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1487/0.1487, allocations: 58.85 MB / 484.1 MB, free: 12.48 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5255/0.6743, allocations: 111.6 MB / 0.5818 GB, free: 8.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.6746, allocations: 85.61 kB / 0.5819 GB, free: 8.297 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4878/1.162, allocations: 111.4 MB / 0.6907 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/1.162, allocations: 0 / 0.6907 GB, free: 0.5742 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004678/1.163, allocations: 119.9 kB / 0.6908 GB, free: 468 kB / 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.02709/1.19, allocations: 5.877 MB / 0.6966 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.793e-05/1.19, allocations: 11.97 kB / 0.6966 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05261/1.243, allocations: 6.899 MB / 0.7033 GB, free: 3.578 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3944/1.637, allocations: 7.077 MB / 0.7102 GB, free: 105 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006556/1.638, allocations: 414.9 kB / 0.7106 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003234/1.641, allocations: 0.5472 MB / 0.7111 GB, free: 104.9 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04942/1.691, allocations: 14.02 MB / 0.7248 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007074/1.691, allocations: 74.91 kB / 0.7249 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003339/1.695, allocations: 266.8 kB / 0.7252 GB, free: 101.9 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003163/1.698, allocations: 1.36 MB / 0.7265 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03763/1.736, allocations: 11.57 MB / 0.7378 GB, free: 101.8 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09437/1.83, allocations: 60.74 MB / 0.7971 GB, free: 61.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02686/1.857, allocations: 5.774 MB / 0.8027 GB, free: 59.52 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006563/1.864, allocations: 3.24 MB / 0.8059 GB, free: 58.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03327/1.897, allocations: 14.74 MB / 0.8203 GB, free: 50.13 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/1.897, allocations: 59.28 kB / 0.8203 GB, free: 50.08 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=227): time 6.573e-06/1.897, allocations: 0 / 0.8203 GB, free: 50.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=264): time 0.1159/2.013, allocations: 21.88 MB / 0.8417 GB, free: 34.83 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/2.013, allocations: 257.3 kB / 0.842 GB, free: 34.52 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/2.024, allocations: 4.42 MB / 0.8463 GB, free: 30.61 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006658/2.025, allocations: 61.7 kB / 0.8463 GB, free: 30.55 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003318/2.028, allocations: 3.836 MB / 0.8501 GB, free: 27.06 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001568/2.03, allocations: 0.9877 MB / 0.851 GB, free: 26.19 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001073/2.031, allocations: 148 kB / 0.8512 GB, free: 26.05 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006244/2.032, allocations: 0.6215 MB / 0.8518 GB, free: 25.51 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006771/2.038, allocations: 2.519 MB / 0.8542 GB, free: 23.24 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00942/2.048, allocations: 6.868 MB / 0.861 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009295/2.057, allocations: 4.11 MB / 0.865 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001437/2.057, allocations: 44 kB / 0.865 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02514/2.082, allocations: 9.443 MB / 0.8742 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/2.083, allocations: 68 kB / 0.8743 GB, free: 2.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002103/2.083, allocations: 152 kB / 0.8744 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002215/2.085, allocations: 0.5875 MB / 0.875 GB, free: 2.055 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01105/2.096, allocations: 1.744 MB / 0.8767 GB, free: 0.543 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/2.107, allocations: 5.639 MB / 0.8822 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008784/2.116, allocations: 404.4 kB / 0.8826 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001867/2.118, allocations: 442.6 kB / 0.883 GB, free: 10.46 MB / 0.5105 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.002658/2.121, allocations: 0.678 MB / 0.8837 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001409/2.122, allocations: 469.9 kB / 0.8841 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01265/2.135, allocations: 3.984 MB / 0.888 GB, free: 5.969 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.816e-05/2.135, allocations: 28 kB / 0.8881 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.758e-05/2.135, allocations: 4 kB / 0.8881 GB, free: 5.938 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.026e-05/2.135, allocations: 14.59 kB / 0.8881 GB, free: 5.934 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3934/2.528, allocations: 10.56 MB / 0.8984 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.162e-05/2.528, allocations: 4.156 kB / 0.8984 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004921/2.533, allocations: 464.1 kB / 0.8988 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/2.535, allocations: 351 kB / 0.8992 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005881/2.536, allocations: 42.41 kB / 0.8992 GB, free: 107.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008127/2.544, allocations: 4.956 MB / 0.9041 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.544, allocations: 1.75 kB / 0.9041 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01826/2.562, allocations: 7.079 MB / 0.911 GB, free: 104.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003385/2.566, allocations: 0.8234 MB / 0.9118 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001628/2.567, allocations: 41.94 kB / 0.9118 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004675/2.572, allocations: 164.9 kB / 0.912 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009307/2.573, allocations: 150.9 kB / 0.9121 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004427/2.574, allocations: 66.73 kB / 0.9122 GB, free: 104.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009521/2.583, allocations: 3.088 MB / 0.9152 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.81e-07/2.583, allocations: 0 / 0.9152 GB, free: 104.3 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008944/2.592, allocations: 1.299 MB / 0.9165 GB, free: 104.3 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 (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.001024/2.593, allocations: 195 kB / 0.9166 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01464/2.608, allocations: 6.374 MB / 0.9229 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.057e-06/2.608, allocations: 6 kB / 0.9229 GB, free: 103.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004923/2.613, allocations: 2.176 MB / 0.925 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005073/2.618, allocations: 0.5577 MB / 0.9255 GB, free: 103.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03017/2.648, allocations: 10.72 MB / 0.936 GB, free: 101.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009742/2.658, allocations: 4.243 MB / 0.9402 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002557/2.661, allocations: 374.5 kB / 0.9405 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of SimCode: time 1.633e-06/2.661, allocations: 0 / 0.9405 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of Templates: time 0.2133/2.874, allocations: 118.7 MB / 1.056 GB, free: 25.32 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches