Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.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.ForceWithTwoMasses2,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.ForceWithTwoMasses2") translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,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.ForceWithTwoMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.612/1.612, allocations: 205.3 MB / 213.7 MB, free: 1.742 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008584/0.0008584, allocations: 90.61 kB / 261.8 MB, free: 1.676 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.2362/0.2362, allocations: 43.5 MB / 353.2 MB, free: 280 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.209e-05, allocations: 4 kB / 418.3 MB, free: 28.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1403, allocations: 58.85 MB / 477.1 MB, free: 1.629 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4835/0.6238, allocations: 111.9 MB / 0.5753 GB, free: 15.81 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.6241, allocations: 76.98 kB / 0.5753 GB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3485/0.9726, allocations: 133.8 MB / 0.706 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9726, allocations: 0 / 0.706 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004945/0.9731, allocations: 132 kB / 0.7061 GB, free: 1.57 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: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.3574/1.331, allocations: 7.032 MB / 0.713 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/1.331, allocations: 8.875 kB / 0.713 GB, free: 98.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03375/1.364, allocations: 7.565 MB / 0.7204 GB, free: 98.45 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.026/1.39, allocations: 9.797 MB / 0.7299 GB, free: 97.97 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004345/1.391, allocations: 210.3 kB / 0.7301 GB, free: 97.97 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003145/1.394, allocations: 393.6 kB / 0.7305 GB, free: 97.96 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02169/1.416, allocations: 9.663 MB / 0.7399 GB, free: 97.93 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03017/1.446, allocations: 14.22 MB / 0.7538 GB, free: 94.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004058/1.446, allocations: 102.4 kB / 0.7539 GB, free: 94.06 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001399/1.448, allocations: 44.19 kB / 0.754 GB, free: 94.06 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001967/1.45, allocations: 1.583 MB / 0.7555 GB, free: 94.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07308/1.523, allocations: 73.7 MB / 0.8275 GB, free: 43.45 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005689/1.529, allocations: 5.14 MB / 0.8325 GB, free: 40.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003863/1.533, allocations: 3.708 MB / 0.8361 GB, free: 39.24 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00193/1.534, allocations: 2.257 MB / 0.8383 GB, free: 37.19 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/1.535, allocations: 71.73 kB / 0.8384 GB, free: 37.13 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=296): time 5.951e-06/1.535, allocations: 3.656 kB / 0.8384 GB, free: 37.13 MB / 0.4948 GB Notification: Performance of matching and sorting (n=379): time 0.08804/1.623, allocations: 40.84 MB / 0.8783 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/1.623, allocations: 273.8 kB / 0.8785 GB, free: 3.102 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007337/1.63, allocations: 4.73 MB / 0.8832 GB, free: 15.17 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009067/1.631, allocations: 29.64 kB / 0.8832 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003516/1.635, allocations: 4.786 MB / 0.8879 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002001/1.637, allocations: 1.35 MB / 0.8892 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004708/1.637, allocations: 0 / 0.8892 GB, free: 9.559 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005178/1.638, allocations: 0.7094 MB / 0.8899 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005001/1.643, allocations: 3.615 MB / 0.8934 GB, free: 5.719 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3146/1.957, allocations: 8.898 MB / 0.9021 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/1.968, allocations: 5.534 MB / 0.9075 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003721/1.968, allocations: 56.19 kB / 0.9076 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1241) (initialization): time 0.03982/2.008, allocations: 15 MB / 0.9222 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/2.008, allocations: 83.03 kB / 0.9223 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000223/2.009, allocations: 192.3 kB / 0.9225 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/2.021, allocations: 4.064 MB / 0.9264 GB, free: 100.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007899/2.029, allocations: 2.101 MB / 0.9285 GB, free: 100.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02675/2.056, allocations: 20.08 MB / 0.9481 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009506/2.065, allocations: 381.7 kB / 0.9485 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002873/2.068, allocations: 0.5406 MB / 0.949 GB, free: 97.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 855 * 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 (1121): * Single equations (assignments): 1116 * 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,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003249/2.071, allocations: 0.5787 MB / 0.9496 GB, free: 97.61 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00155/2.073, allocations: 0.5454 MB / 0.9501 GB, free: 97.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01932/2.092, allocations: 9.367 MB / 0.9592 GB, free: 96.4 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.649e-05/2.092, allocations: 38.22 kB / 0.9593 GB, free: 96.4 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-05/2.092, allocations: 22.89 kB / 0.9593 GB, free: 96.4 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.851e-05/2.093, allocations: 20.55 kB / 0.9593 GB, free: 96.4 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03591/2.128, allocations: 17.99 MB / 0.9769 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.271e-05/2.129, allocations: 7.844 kB / 0.9769 GB, free: 90.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002802/2.131, allocations: 0.5231 MB / 0.9774 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0113/2.143, allocations: 3.577 MB / 0.9809 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007851/2.143, allocations: 10.69 kB / 0.9809 GB, free: 89.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02297/2.166, allocations: 17.67 MB / 0.9982 GB, free: 81.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.39e-05/2.167, allocations: 11.58 kB / 0.9982 GB, free: 81.6 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/2.19, allocations: 14.12 MB / 1.012 GB, free: 70.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00326/2.194, allocations: 1.083 MB / 1.013 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00113/2.195, allocations: 8 kB / 1.013 GB, free: 69.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002967/2.198, allocations: 177.9 kB / 1.013 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005852/2.198, allocations: 238.5 kB / 1.013 GB, free: 69.32 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002436/2.199, allocations: 95.66 kB / 1.014 GB, free: 69.23 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004364/2.203, allocations: 3.134 MB / 1.017 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.11e-07/2.203, allocations: 4 kB / 1.017 GB, free: 66.54 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008639/2.212, allocations: 1.612 MB / 1.018 GB, free: 64.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (279): * Single equations (assignments): 274 * 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.0006416/2.212, allocations: 163.3 kB / 1.018 GB, free: 64.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01311/2.225, allocations: 9.142 MB / 1.027 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/2.226, allocations: 0 / 1.027 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004657/2.23, allocations: 3.645 MB / 1.031 GB, free: 53.16 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/2.234, allocations: 0.5889 MB / 1.031 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02311/2.257, allocations: 13.03 MB / 1.044 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005268/2.263, allocations: 5.01 MB / 1.049 GB, free: 37.45 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007665/2.27, allocations: 2.875 MB / 1.052 GB, free: 34.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001211/2.271, allocations: 371.4 kB / 1.052 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of SimCode: time 1.132e-06/2.272, allocations: 0 / 1.052 GB, free: 34.41 MB / 0.5105 GB Notification: Performance of Templates: time 0.3877/2.659, allocations: 68.66 MB / 1.119 GB, free: 103.5 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/ForceWithTwoMasses2/ForceWithTwoMasses2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches