Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.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.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002246/0.002252, allocations: 182.1 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 1.962/1.962, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001102/0.001102, allocations: 86.72 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.2831/0.2831, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.317e-05/3.335e-05, allocations: 4 kB / 425.3 MB, free: 23.38 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 58.85 MB / 484.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.493/0.6087, allocations: 102.3 MB / 0.5727 GB, free: 1.547 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/0.609, allocations: 78.27 kB / 0.5728 GB, free: 1.508 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.377/0.9861, allocations: 86.57 MB / 0.6573 GB, free: 2.711 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.9861, allocations: 0 / 0.6573 GB, free: 2.711 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000193/0.9863, allocations: 68 kB / 0.6574 GB, free: 2.645 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1571 * Number of variables: 1571 Notification: Performance of Generate backend data structure: time 0.01441/1.001, allocations: 3.67 MB / 0.6609 GB, free: 14.91 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/1.001, allocations: 15.95 kB / 0.661 GB, free: 14.89 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02762/1.028, allocations: 3.508 MB / 0.6644 GB, free: 11.38 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01724/1.046, allocations: 4.171 MB / 0.6685 GB, free: 7.156 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000464/1.046, allocations: 291.7 kB / 0.6687 GB, free: 6.871 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002703/1.049, allocations: 387.9 kB / 0.6691 GB, free: 6.492 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03411/1.083, allocations: 10.23 MB / 0.6791 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001983/1.083, allocations: 27.72 kB / 0.6791 GB, free: 11.79 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002217/1.086, allocations: 175.9 kB / 0.6793 GB, free: 11.61 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003191/1.089, allocations: 1.211 MB / 0.6805 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03082/1.12, allocations: 9.871 MB / 0.6901 GB, free: 0.5078 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4124/1.532, allocations: 35.56 MB / 0.7248 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01574/1.548, allocations: 4.932 MB / 0.7297 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005203/1.553, allocations: 2.285 MB / 0.7319 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002331/1.556, allocations: 1.882 MB / 0.7337 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.347e-05/1.556, allocations: 53.16 kB / 0.7338 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=229): time 6.653e-06/1.556, allocations: 0 / 0.7338 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=235): time 0.04317/1.599, allocations: 11.25 MB / 0.7448 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.834e-05/1.599, allocations: 74.94 kB / 0.7448 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004556/1.604, allocations: 2.369 MB / 0.7472 GB, free: 102.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005126/1.604, allocations: 60.12 kB / 0.7472 GB, free: 102.2 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001836/1.606, allocations: 2.696 MB / 0.7498 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00126/1.607, allocations: 0.858 MB / 0.7507 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000524/1.608, allocations: 102.5 kB / 0.7508 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003743/1.608, allocations: 0.5331 MB / 0.7513 GB, free: 100 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004833/1.613, allocations: 2.141 MB / 0.7534 GB, free: 100 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00691/1.62, allocations: 5.053 MB / 0.7583 GB, free: 96.29 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007116/1.627, allocations: 3.322 MB / 0.7616 GB, free: 96.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.076e-05/1.627, allocations: 36.03 kB / 0.7616 GB, free: 96.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=699) (initialization): time 0.02047/1.648, allocations: 7.731 MB / 0.7692 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001186/1.648, allocations: 52.03 kB / 0.7692 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/1.648, allocations: 107.2 kB / 0.7693 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003975/1.652, allocations: 0.8062 MB / 0.7701 GB, free: 94.04 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007421/1.66, allocations: 1.196 MB / 0.7713 GB, free: 93.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008056/1.668, allocations: 4.136 MB / 0.7753 GB, free: 91.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005546/1.673, allocations: 293.4 kB / 0.7756 GB, free: 91.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/1.674, allocations: 307.9 kB / 0.7759 GB, free: 91.58 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 464 * Number of states: 0 () * Number of discrete variables: 27 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (639): * Single equations (assignments): 632 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001188/1.676, allocations: 0.4906 MB / 0.7764 GB, free: 91.17 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006653/1.676, allocations: 263.3 kB / 0.7766 GB, free: 91.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01194/1.688, allocations: 4.674 MB / 0.7812 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.325e-05/1.688, allocations: 41.03 kB / 0.7812 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/1.688, allocations: 3.938 kB / 0.7812 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-05/1.688, allocations: 7.312 kB / 0.7812 GB, free: 89.52 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02764/1.716, allocations: 10.59 MB / 0.7916 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-05/1.716, allocations: 11.08 kB / 0.7916 GB, free: 85.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003123/1.719, allocations: 364.9 kB / 0.7919 GB, free: 85.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00349/1.723, allocations: 0.6519 MB / 0.7926 GB, free: 85.88 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003448/1.723, allocations: 45.61 kB / 0.7926 GB, free: 85.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006765/1.73, allocations: 3.597 MB / 0.7961 GB, free: 83.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.73, allocations: 11.22 kB / 0.7961 GB, free: 83.88 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0156/1.746, allocations: 7.622 MB / 0.8036 GB, free: 79.21 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002164/1.748, allocations: 0.6464 MB / 0.8042 GB, free: 78.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005888/1.748, allocations: 43.58 kB / 0.8042 GB, free: 78.55 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002184/1.751, allocations: 131 kB / 0.8044 GB, free: 78.47 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004257/1.751, allocations: 133 kB / 0.8045 GB, free: 78.39 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002229/1.751, allocations: 65.09 kB / 0.8046 GB, free: 78.32 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.003165/1.754, allocations: 1.612 MB / 0.8061 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.91e-07/1.754, allocations: 0 / 0.8061 GB, free: 76.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.005375/1.76, allocations: 0.9443 MB / 0.8071 GB, free: 75.96 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 171 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006218/1.761, allocations: 191.4 kB / 0.8072 GB, free: 75.78 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.771, allocations: 5.274 MB / 0.8124 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.771, allocations: 0 / 0.8124 GB, free: 70.99 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003951/1.775, allocations: 2.003 MB / 0.8143 GB, free: 69.16 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/1.778, allocations: 314.6 kB / 0.8146 GB, free: 68.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.797, allocations: 8.456 MB / 0.8229 GB, free: 61.27 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00523/1.802, allocations: 3.325 MB / 0.8261 GB, free: 58.7 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/1.804, allocations: 252.9 kB / 0.8264 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of SimCode: time 1.092e-06/1.804, allocations: 0 / 0.8264 GB, free: 58.47 MB / 0.4948 GB Notification: Performance of Templates: time 0.1221/1.926, allocations: 68.68 MB / 0.8935 GB, free: 10.86 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches