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.001301/0.001301, allocations: 175.4 kB / 16.72 MB, free: 5.082 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.247/1.247, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.0006807/0.0006808, allocations: 91.31 kB / 271.2 MB, free: 8.242 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.2978/0.2978, allocations: 43.56 MB / 363.1 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003503/0.0003504, allocations: 16 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1027, allocations: 58.86 MB / 490.8 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Revolute): time 0.1912/0.294, allocations: 27.13 MB / 0.5058 GB, free: 31.23 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.3057, allocations: 6.437 MB / 0.5121 GB, free: 26.92 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003833/0.3095, allocations: 118 kB / 0.5122 GB, free: 26.91 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00308/0.3126, allocations: 1.293 MB / 0.5135 GB, free: 26.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008746/0.3214, allocations: 4.039 MB / 0.5174 GB, free: 24.81 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001349/0.3227, allocations: 460.9 kB / 0.5179 GB, free: 24.65 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.003536/0.3263, allocations: 4.026 MB / 0.5218 GB, free: 23.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002339/0.3287, allocations: 2.385 MB / 0.5241 GB, free: 22.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.3297, allocations: 1.057 MB / 0.5252 GB, free: 21.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.3312, allocations: 1.695 MB / 0.5268 GB, free: 21.46 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003097/0.3316, allocations: 135.2 kB / 0.5269 GB, free: 21.46 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001405/0.333, allocations: 0.892 MB / 0.5278 GB, free: 21.24 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000933/0.3339, allocations: 1.493 MB / 0.5293 GB, free: 20.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001291/0.3352, allocations: 1.742 MB / 0.531 GB, free: 19.56 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004458/0.3397, allocations: 4.802 MB / 0.5357 GB, free: 18.58 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.3397, allocations: 0.5625 kB / 0.5357 GB, free: 18.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3397, allocations: 0 / 0.5357 GB, free: 18.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000144/0.3399, allocations: 0 / 0.5357 GB, free: 18.58 MB / 378.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.005098/0.345, allocations: 3.474 MB / 0.5391 GB, free: 16.52 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.345, allocations: 6.406 kB / 0.5391 GB, free: 16.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009619/0.3547, allocations: 3.172 MB / 0.5422 GB, free: 14.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003874/0.3586, allocations: 1.955 MB / 0.5441 GB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001467/0.3587, allocations: 192.5 kB / 0.5443 GB, free: 13.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006018/0.3593, allocations: 257.2 kB / 0.5445 GB, free: 13.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01506/0.3744, allocations: 10.69 MB / 0.5549 GB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-05/0.3745, allocations: 25.78 kB / 0.555 GB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003516/0.3749, allocations: 123.8 kB / 0.5551 GB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003599/0.3785, allocations: 2.651 MB / 0.5577 GB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01476/0.3933, allocations: 9.979 MB / 0.5674 GB, free: 11.37 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04606/0.4394, allocations: 35.3 MB / 0.6019 GB, free: 7.203 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00873/0.4481, allocations: 5.175 MB / 0.6069 GB, free: 1.801 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003112/0.4513, allocations: 2.293 MB / 0.6092 GB, free: 15.51 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/0.4528, allocations: 1.876 MB / 0.611 GB, free: 13.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.4529, allocations: 56.5 kB / 0.6111 GB, free: 13.23 MB / 442.7 MB Notification: Performance of pre-optimization done (n=229): time 5.29e-06/0.4529, allocations: 0 / 0.6111 GB, free: 13.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=235): time 0.02936/0.4823, allocations: 13.99 MB / 0.6247 GB, free: 15.19 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.4823, allocations: 73.34 kB / 0.6248 GB, free: 15.11 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003336/0.4857, allocations: 2.66 MB / 0.6274 GB, free: 12.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002756/0.486, allocations: 53.7 kB / 0.6274 GB, free: 12.37 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001461/0.4874, allocations: 2.705 MB / 0.6301 GB, free: 9.621 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007705/0.4882, allocations: 0.8441 MB / 0.6309 GB, free: 8.766 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002363/0.4885, allocations: 104 kB / 0.631 GB, free: 8.664 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000286/0.4888, allocations: 0.5372 MB / 0.6315 GB, free: 8.121 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/0.4916, allocations: 2.197 MB / 0.6337 GB, free: 5.918 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004362/0.496, allocations: 5.115 MB / 0.6387 GB, free: 15.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008297/0.5043, allocations: 8.023 MB / 0.6465 GB, free: 5.926 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.879e-05/0.5044, allocations: 32 kB / 0.6465 GB, free: 5.895 MB / 474.7 MB Notification: Performance of matching and sorting (n=704) (initialization): time 0.01197/0.5164, allocations: 7.918 MB / 0.6543 GB, free: 13.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.5165, allocations: 48 kB / 0.6543 GB, free: 13.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.034e-05/0.5166, allocations: 100 kB / 0.6544 GB, free: 13.81 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002001/0.5186, allocations: 0.7932 MB / 0.6552 GB, free: 13.02 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/0.5219, allocations: 1.205 MB / 0.6564 GB, free: 11.81 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004876/0.5268, allocations: 4.209 MB / 0.6605 GB, free: 7.461 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.5294, allocations: 295.8 kB / 0.6608 GB, free: 7.172 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003752/0.5298, allocations: 312 kB / 0.661 GB, free: 6.867 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 463 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (644): * Single equations (assignments): 637 * 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.00301/0.5328, allocations: 2.051 MB / 0.6631 GB, free: 4.801 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003436/0.5332, allocations: 264.5 kB / 0.6633 GB, free: 4.539 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007077/0.5403, allocations: 4.714 MB / 0.6679 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-05/0.5403, allocations: 43.98 kB / 0.6679 GB, free: 15.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.5404, allocations: 4 kB / 0.668 GB, free: 15.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.67e-05/0.5404, allocations: 15.95 kB / 0.668 GB, free: 15.74 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01492/0.5553, allocations: 10.58 MB / 0.6783 GB, free: 5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.645e-05/0.5554, allocations: 8 kB / 0.6783 GB, free: 4.992 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001389/0.5567, allocations: 367.5 kB / 0.6787 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00185/0.5586, allocations: 0.6521 MB / 0.6793 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001625/0.5588, allocations: 40 kB / 0.6793 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004295/0.5631, allocations: 3.663 MB / 0.6829 GB, free: 136 kB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.478e-06/0.5631, allocations: 12.88 kB / 0.6829 GB, free: 124 kB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1903/0.7534, allocations: 7.103 MB / 0.6899 GB, free: 152.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001292/0.7547, allocations: 0.6549 MB / 0.6905 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003084/0.755, allocations: 39.09 kB / 0.6905 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7561, allocations: 142.8 kB / 0.6907 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000276/0.7564, allocations: 131.5 kB / 0.6908 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/0.7565, allocations: 65.81 kB / 0.6909 GB, free: 152.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002086/0.7586, allocations: 1.615 MB / 0.6924 GB, free: 152 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.42e-07/0.7586, allocations: 0 / 0.6924 GB, free: 152 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003186/0.7618, allocations: 0.9484 MB / 0.6934 GB, free: 151.9 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 () * Number of clocked 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.000376/0.7622, allocations: 181.3 kB / 0.6935 GB, free: 151.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006427/0.7686, allocations: 5.359 MB / 0.6988 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7687, allocations: 0 / 0.6988 GB, free: 150.1 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002186/0.7708, allocations: 2.014 MB / 0.7007 GB, free: 149.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003602/0.7745, allocations: 345.5 kB / 0.7011 GB, free: 149.2 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01359/0.7881, allocations: 11.78 MB / 0.7126 GB, free: 143.2 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003159/0.7913, allocations: 3.232 MB / 0.7157 GB, free: 142 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001091/0.7924, allocations: 250.9 kB / 0.716 GB, free: 142 MB / 0.4948 GB Notification: Performance of SimCode: time 8.61e-07/0.7924, allocations: 2.062 kB / 0.716 GB, free: 142 MB / 0.4948 GB Notification: Performance of Templates: time 0.0758/0.8682, allocations: 70.63 MB / 0.7849 GB, free: 87.73 MB / 0.4948 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/jenkins/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