Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009642/0.0009642, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.245/1.245, allocations: 223.2 MB / 241 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 89.67 kB / 292.1 MB, free: 10.72 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3195/0.3195, allocations: 44.21 MB / 387.5 MB, free: 38.46 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 12 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3701, allocations: 61.89 MB / 0.5096 GB, free: 37.67 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.5088, allocations: 103.8 MB / 0.6109 GB, free: 7.305 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002696/0.5091, allocations: 79.97 kB / 0.611 GB, free: 7.227 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4875/0.9965, allocations: 85.93 MB / 0.6949 GB, free: 98.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.9966, allocations: 0 / 0.6949 GB, free: 98.27 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001182/0.9967, allocations: 70.91 kB / 0.695 GB, free: 98.26 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.009163/1.006, allocations: 3.728 MB / 0.6986 GB, free: 96.54 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.006, allocations: 8.125 kB / 0.6987 GB, free: 96.54 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01381/1.02, allocations: 3.481 MB / 0.7021 GB, free: 96.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01216/1.032, allocations: 4.008 MB / 0.706 GB, free: 95.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003181/1.032, allocations: 295.2 kB / 0.7063 GB, free: 95.79 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002189/1.035, allocations: 381.2 kB / 0.7066 GB, free: 95.78 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02328/1.058, allocations: 10.12 MB / 0.7165 GB, free: 94.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001256/1.058, allocations: 25.75 kB / 0.7165 GB, free: 94.43 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005977/1.059, allocations: 170.4 kB / 0.7167 GB, free: 94.34 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001852/1.06, allocations: 1.176 MB / 0.7178 GB, free: 94.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01854/1.079, allocations: 9.92 MB / 0.7275 GB, free: 91.15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04741/1.126, allocations: 34.72 MB / 0.7614 GB, free: 70.42 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007256/1.134, allocations: 4.945 MB / 0.7663 GB, free: 68.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/1.135, allocations: 1.884 MB / 0.7681 GB, free: 66.36 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/1.135, allocations: 54.47 kB / 0.7681 GB, free: 66.3 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 5.44e-06/1.135, allocations: 1.641 kB / 0.7682 GB, free: 66.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.02582/1.161, allocations: 14.29 MB / 0.7821 GB, free: 56.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.811e-05/1.161, allocations: 76.08 kB / 0.7822 GB, free: 56.73 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004464/1.165, allocations: 2.347 MB / 0.7845 GB, free: 54.73 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004197/1.166, allocations: 57.7 kB / 0.7845 GB, free: 54.67 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001374/1.167, allocations: 2.635 MB / 0.7871 GB, free: 52.32 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008395/1.168, allocations: 0.8527 MB / 0.7879 GB, free: 51.56 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004224/1.169, allocations: 100 kB / 0.788 GB, free: 51.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003338/1.169, allocations: 0.5324 MB / 0.7886 GB, free: 50.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002636/1.172, allocations: 2.175 MB / 0.7907 GB, free: 49.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00347/1.175, allocations: 5.015 MB / 0.7956 GB, free: 43.14 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/1.179, allocations: 3.302 MB / 0.7988 GB, free: 40.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-05/1.179, allocations: 32 kB / 0.7988 GB, free: 40.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01058/1.189, allocations: 7.807 MB / 0.8065 GB, free: 33.44 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.028e-05/1.19, allocations: 48.19 kB / 0.8065 GB, free: 33.39 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001167/1.19, allocations: 104 kB / 0.8066 GB, free: 33.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/1.192, allocations: 0.796 MB / 0.8074 GB, free: 32.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003354/1.195, allocations: 1.186 MB / 0.8085 GB, free: 31.65 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004413/1.199, allocations: 4.232 MB / 0.8127 GB, free: 27.29 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003295/1.203, allocations: 287.8 kB / 0.8129 GB, free: 27.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007887/1.204, allocations: 299.8 kB / 0.8132 GB, free: 26.72 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,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 (630): * Single equations (assignments): 623 * 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.003956/1.208, allocations: 2.012 MB / 0.8152 GB, free: 24.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005296/1.208, allocations: 272.5 kB / 0.8155 GB, free: 24.43 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007091/1.215, allocations: 4.694 MB / 0.82 GB, free: 19.71 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.295e-05/1.215, allocations: 43.98 kB / 0.8201 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.779e-05/1.215, allocations: 4 kB / 0.8201 GB, free: 19.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/1.215, allocations: 11.92 kB / 0.8201 GB, free: 19.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01787/1.233, allocations: 10.54 MB / 0.8304 GB, free: 9.004 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/1.233, allocations: 15.92 kB / 0.8304 GB, free: 8.988 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/1.235, allocations: 355.4 kB / 0.8307 GB, free: 8.641 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001831/1.237, allocations: 0.6565 MB / 0.8314 GB, free: 7.98 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001829/1.237, allocations: 43.98 kB / 0.8314 GB, free: 7.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/1.24, allocations: 3.691 MB / 0.835 GB, free: 4.113 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.24, allocations: 11.94 kB / 0.835 GB, free: 4.102 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009365/1.25, allocations: 7.654 MB / 0.8425 GB, free: 12.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008989/1.251, allocations: 317.6 kB / 0.8428 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000343/1.251, allocations: 39.98 kB / 0.8429 GB, free: 11.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/1.252, allocations: 139.8 kB / 0.843 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/1.253, allocations: 133 kB / 0.8431 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.253, allocations: 63.75 kB / 0.8432 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002675/1.255, allocations: 1.607 MB / 0.8447 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.8e-07/1.255, allocations: 0 / 0.8447 GB, free: 9.848 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004929/1.26, allocations: 0.9374 MB / 0.8457 GB, free: 8.91 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.0005017/1.261, allocations: 186.7 kB / 0.8458 GB, free: 8.723 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007506/1.268, allocations: 5.306 MB / 0.851 GB, free: 3.43 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.074e-05/1.269, allocations: 4 kB / 0.851 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002602/1.271, allocations: 2.018 MB / 0.853 GB, free: 1.395 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001639/1.273, allocations: 312.1 kB / 0.8533 GB, free: 1.094 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01763/1.29, allocations: 11.08 MB / 0.8641 GB, free: 5.922 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003628/1.294, allocations: 3.26 MB / 0.8673 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004507/1.299, allocations: 1.953 MB / 0.8692 GB, free: 0.6914 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/1.299, allocations: 195.4 kB / 0.8694 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.363e-06/1.299, allocations: 0 / 0.8694 GB, free: 0.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.3258/1.625, allocations: 28.83 MB / 0.8975 GB, free: 113.3 MB / 0.5105 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Revolute/Revolute.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Revolute.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches