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.002224/0.002223, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 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: 96.05 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.287/0.287, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.988e-05/1.986e-05, allocations: 224 / 418.2 MB, free: 41.04 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3857, allocations: 58.85 MB / 477.1 MB, free: 5.258 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.191/0.5767, allocations: 101.6 MB / 0.5651 GB, free: 13.65 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5771, allocations: 83.95 kB / 0.5652 GB, free: 13.57 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.6806/1.258, allocations: 85 MB / 0.6482 GB, free: 111.1 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.405e-06/1.258, allocations: 3 kB / 0.6482 GB, free: 111.1 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0001986/1.258, allocations: 73.56 kB / 0.6483 GB, free: 111.1 MB / 475.1 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.01506/1.273, allocations: 3.663 MB / 0.6519 GB, free: 109.5 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.273, allocations: 8.5 kB / 0.6519 GB, free: 109.5 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02732/1.3, allocations: 3.512 MB / 0.6553 GB, free: 109.2 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01677/1.317, allocations: 4.178 MB / 0.6594 GB, free: 108.7 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003225/1.318, allocations: 126.1 kB / 0.6595 GB, free: 108.7 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002649/1.32, allocations: 222.2 kB / 0.6597 GB, free: 108.7 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01768/1.338, allocations: 7.275 MB / 0.6668 GB, free: 108.7 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02524/1.363, allocations: 9.487 MB / 0.6761 GB, free: 107.2 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002227/1.363, allocations: 24.88 kB / 0.6761 GB, free: 107.2 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002242/1.366, allocations: 14.97 kB / 0.6761 GB, free: 107.2 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002789/1.369, allocations: 1.213 MB / 0.6773 GB, free: 107 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06883/1.437, allocations: 33.07 MB / 0.7096 GB, free: 87.84 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006506/1.444, allocations: 4.172 MB / 0.7137 GB, free: 85.54 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003941/1.448, allocations: 2.237 MB / 0.7159 GB, free: 84.68 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002064/1.45, allocations: 1.882 MB / 0.7177 GB, free: 82.93 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.45, allocations: 51.81 kB / 0.7178 GB, free: 82.87 MB / 475.1 MB Notification: Performance of pre-optimization done (n=231): time 5.641e-06/1.45, allocations: 0 / 0.7178 GB, free: 82.87 MB / 475.1 MB Notification: Performance of matching and sorting (n=238): time 0.03836/1.489, allocations: 14.03 MB / 0.7315 GB, free: 71.12 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/1.489, allocations: 73.41 kB / 0.7315 GB, free: 71.04 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003966/1.493, allocations: 2.271 MB / 0.7338 GB, free: 69.04 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004804/1.493, allocations: 25.7 kB / 0.7338 GB, free: 69.01 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.495, allocations: 2.813 MB / 0.7365 GB, free: 66.45 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001143/1.496, allocations: 0.8428 MB / 0.7373 GB, free: 65.68 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004055/1.497, allocations: 0 / 0.7373 GB, free: 65.68 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003465/1.497, allocations: 0.5509 MB / 0.7379 GB, free: 65.19 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004362/1.501, allocations: 2.128 MB / 0.74 GB, free: 63.29 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006424/1.508, allocations: 5.275 MB / 0.7451 GB, free: 56.78 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006788/1.515, allocations: 3.372 MB / 0.7484 GB, free: 53.92 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.674e-05/1.515, allocations: 32 kB / 0.7484 GB, free: 53.89 MB / 475.1 MB Notification: Performance of matching and sorting (n=747) (initialization): time 0.01961/1.534, allocations: 7.409 MB / 0.7557 GB, free: 47.48 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/1.534, allocations: 52 kB / 0.7557 GB, free: 47.43 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/1.535, allocations: 112 kB / 0.7558 GB, free: 47.32 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003754/1.538, allocations: 0.8207 MB / 0.7566 GB, free: 46.49 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007778/1.546, allocations: 1.291 MB / 0.7579 GB, free: 45.2 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007454/1.554, allocations: 3.983 MB / 0.7618 GB, free: 41.1 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005215/1.559, allocations: 199.8 kB / 0.762 GB, free: 40.91 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009542/1.56, allocations: 328.9 kB / 0.7623 GB, free: 40.59 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 509 * 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 (687): * Single equations (assignments): 680 * 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 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009734/1.561, allocations: 389.2 kB / 0.7627 GB, free: 40.2 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005464/1.562, allocations: 264.5 kB / 0.7629 GB, free: 39.93 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01126/1.573, allocations: 4.565 MB / 0.7674 GB, free: 35.34 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/1.573, allocations: 45 kB / 0.7674 GB, free: 35.3 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/1.573, allocations: 0 / 0.7674 GB, free: 35.3 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.895e-05/1.573, allocations: 7.969 kB / 0.7674 GB, free: 35.29 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02499/1.598, allocations: 9.575 MB / 0.7768 GB, free: 25.62 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-05/1.598, allocations: 8 kB / 0.7768 GB, free: 25.61 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003146/1.601, allocations: 363.4 kB / 0.7771 GB, free: 25.26 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003486/1.605, allocations: 0.6563 MB / 0.7778 GB, free: 24.6 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000399/1.605, allocations: 12 kB / 0.7778 GB, free: 24.59 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006514/1.612, allocations: 3.464 MB / 0.7812 GB, free: 21 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/1.612, allocations: 11.94 kB / 0.7812 GB, free: 20.99 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01528/1.627, allocations: 7.58 MB / 0.7886 GB, free: 13.11 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002367/1.629, allocations: 0.6499 MB / 0.7892 GB, free: 12.43 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006602/1.63, allocations: 19.88 kB / 0.7892 GB, free: 12.41 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002288/1.632, allocations: 103.8 kB / 0.7893 GB, free: 12.31 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004498/1.633, allocations: 145 kB / 0.7895 GB, free: 12.17 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002285/1.633, allocations: 60 kB / 0.7895 GB, free: 12.11 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.002903/1.636, allocations: 1.479 MB / 0.791 GB, free: 10.62 MB / 475.1 MB Notification: Performance of sort global known variables: time 5.21e-07/1.636, allocations: 0 / 0.791 GB, free: 10.62 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.006254/1.642, allocations: 0.8242 MB / 0.7918 GB, free: 9.797 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (181): * Single equations (assignments): 174 * 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.0007169/1.643, allocations: 156.8 kB / 0.7919 GB, free: 9.637 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.01035/1.654, allocations: 5.194 MB / 0.797 GB, free: 4.461 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/1.654, allocations: 0 / 0.797 GB, free: 4.461 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003872/1.657, allocations: 1.953 MB / 0.7989 GB, free: 2.496 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002013/1.66, allocations: 227.8 kB / 0.7991 GB, free: 2.281 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02314/1.683, allocations: 8.451 MB / 0.8074 GB, free: 9.695 MB / 491.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007305/1.69, allocations: 3.324 MB / 0.8106 GB, free: 6.348 MB / 491.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001853/1.692, allocations: 255.3 kB / 0.8109 GB, free: 6.098 MB / 491.1 MB Notification: Performance of SimCode: time 1.473e-06/1.692, allocations: 4 kB / 0.8109 GB, free: 6.094 MB / 491.1 MB Notification: Performance of Templates: time 0.4865/2.179, allocations: 67.67 MB / 0.8769 GB, free: 113.9 MB / 0.4952 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