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.001496/0.001496, allocations: 185.9 kB / 16.41 MB, free: 5.727 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.895/1.895, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001155/0.001155, allocations: 93.3 kB / 270.9 MB, free: 8.395 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.506/0.506, allocations: 43.55 MB / 362.7 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004891/0.0004892, allocations: 12 kB / 431.4 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1236, allocations: 58.84 MB / 490.2 MB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4984/0.6221, allocations: 111.7 MB / 0.5878 GB, free: 6.812 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.6224, allocations: 79.94 kB / 0.5879 GB, free: 6.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.812/1.434, allocations: 111.4 MB / 0.6967 GB, free: 88.36 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.595e-06/1.435, allocations: 0 / 0.6967 GB, free: 88.36 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004082/1.435, allocations: 113 kB / 0.6968 GB, free: 88.35 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.02777/1.463, allocations: 6.368 MB / 0.703 GB, free: 85.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.463, allocations: 8.875 kB / 0.703 GB, free: 85.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04986/1.513, allocations: 6.89 MB / 0.7097 GB, free: 85.49 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02766/1.54, allocations: 7.127 MB / 0.7167 GB, free: 84.64 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006929/1.541, allocations: 414.2 kB / 0.7171 GB, free: 84.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003344/1.545, allocations: 0.536 MB / 0.7176 GB, free: 84.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04658/1.591, allocations: 14.13 MB / 0.7314 GB, free: 81.09 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000451/1.592, allocations: 77.16 kB / 0.7315 GB, free: 81.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002845/1.595, allocations: 261 kB / 0.7317 GB, free: 80.93 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003004/1.598, allocations: 1.354 MB / 0.733 GB, free: 80.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03815/1.636, allocations: 11.74 MB / 0.7445 GB, free: 77.17 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09216/1.728, allocations: 60.73 MB / 0.8038 GB, free: 33.21 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02747/1.755, allocations: 5.816 MB / 0.8095 GB, free: 30.66 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03207/1.788, allocations: 14.74 MB / 0.8239 GB, free: 17.45 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.825e-05/1.788, allocations: 60.5 kB / 0.824 GB, free: 17.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=227): time 6.181e-06/1.788, allocations: 8 kB / 0.824 GB, free: 17.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=264): time 0.1355/1.923, allocations: 25.6 MB / 0.849 GB, free: 8.301 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001563/1.923, allocations: 261.3 kB / 0.8492 GB, free: 7.992 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01173/1.935, allocations: 4.461 MB / 0.8536 GB, free: 3.543 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006404/1.936, allocations: 61.7 kB / 0.8536 GB, free: 3.477 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.3575/2.293, allocations: 3.826 MB / 0.8574 GB, free: 99.51 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001712/2.295, allocations: 0.9842 MB / 0.8583 GB, free: 99.51 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001178/2.296, allocations: 149.4 kB / 0.8585 GB, free: 99.51 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0008757/2.297, allocations: 0.6252 MB / 0.8591 GB, free: 99.19 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007967/2.305, allocations: 2.574 MB / 0.8616 GB, free: 99.17 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01122/2.316, allocations: 6.912 MB / 0.8683 GB, free: 93.61 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01064/2.327, allocations: 4.118 MB / 0.8724 GB, free: 93.58 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002621/2.327, allocations: 48.97 kB / 0.8724 GB, free: 93.58 MB / 0.4949 GB Notification: Performance of matching and sorting (n=966) (initialization): time 0.02723/2.355, allocations: 9.547 MB / 0.8817 GB, free: 92.94 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/2.355, allocations: 68.03 kB / 0.8818 GB, free: 92.94 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002777/2.355, allocations: 152.8 kB / 0.8819 GB, free: 92.94 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002347/2.358, allocations: 0.5847 MB / 0.8825 GB, free: 92.92 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01137/2.369, allocations: 1.74 MB / 0.8842 GB, free: 92.77 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009519/2.379, allocations: 5.729 MB / 0.8898 GB, free: 90 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008663/2.387, allocations: 398.4 kB / 0.8902 GB, free: 89.99 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/2.389, allocations: 443.6 kB / 0.8906 GB, free: 89.99 MB / 0.4949 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.008101/2.397, allocations: 2.643 MB / 0.8932 GB, free: 89.71 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001264/2.399, allocations: 478.4 kB / 0.8936 GB, free: 89.46 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01227/2.411, allocations: 4.01 MB / 0.8976 GB, free: 88.31 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-05/2.411, allocations: 29.48 kB / 0.8976 GB, free: 88.31 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/2.411, allocations: 9.172 kB / 0.8976 GB, free: 88.3 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.35e-05/2.411, allocations: 15.72 kB / 0.8976 GB, free: 88.3 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03418/2.445, allocations: 10.29 MB / 0.9077 GB, free: 84.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.991e-05/2.445, allocations: 1.812 kB / 0.9077 GB, free: 84.51 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004742/2.45, allocations: 471 kB / 0.9081 GB, free: 84.47 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/2.452, allocations: 349.2 kB / 0.9084 GB, free: 84.39 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005372/2.453, allocations: 46.34 kB / 0.9085 GB, free: 84.36 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008061/2.461, allocations: 5.061 MB / 0.9134 GB, free: 80.64 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/2.461, allocations: 3.953 kB / 0.9134 GB, free: 80.64 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01693/2.478, allocations: 7.146 MB / 0.9204 GB, free: 77.47 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003418/2.481, allocations: 0.827 MB / 0.9212 GB, free: 76.98 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00162/2.483, allocations: 42.36 kB / 0.9213 GB, free: 76.95 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004431/2.487, allocations: 165 kB / 0.9214 GB, free: 76.92 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008785/2.488, allocations: 138.7 kB / 0.9215 GB, free: 76.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002747/2.488, allocations: 73.91 kB / 0.9216 GB, free: 76.89 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008159/2.497, allocations: 3.141 MB / 0.9247 GB, free: 75.85 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.042e-06/2.497, allocations: 0 / 0.9247 GB, free: 75.85 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009011/2.506, allocations: 1.291 MB / 0.9259 GB, free: 75.7 MB / 0.4949 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.0009922/2.507, allocations: 197.6 kB / 0.9261 GB, free: 75.56 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01482/2.522, allocations: 6.456 MB / 0.9324 GB, free: 73.2 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/2.522, allocations: 7.281 kB / 0.9324 GB, free: 73.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004835/2.527, allocations: 2.209 MB / 0.9346 GB, free: 72.23 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/2.531, allocations: 0.5629 MB / 0.9352 GB, free: 71.99 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03367/2.565, allocations: 15.03 MB / 0.9498 GB, free: 64.27 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00958/2.575, allocations: 4.238 MB / 0.954 GB, free: 62.82 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002469/2.577, allocations: 383.3 kB / 0.9543 GB, free: 62.8 MB / 0.4949 GB Notification: Performance of SimCode: time 1.362e-06/2.577, allocations: 0 / 0.9543 GB, free: 62.8 MB / 0.4949 GB Notification: Performance of Templates: time 0.5797/3.157, allocations: 118.7 MB / 1.07 GB, free: 104.8 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