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.000893/0.000893, allocations: 183 kB / 18.09 MB, free: 3.73 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.283/1.283, allocations: 223.3 MB / 242.1 MB, free: 11.69 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.0007573/0.0007577, allocations: 101.8 kB / 293.3 MB, free: 10.77 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.3007/0.3007, allocations: 44.15 MB / 388.5 MB, free: 38.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.000408, allocations: 12 kB / 461.1 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3545, allocations: 61.88 MB / 0.5107 GB, free: 38.19 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.4896, allocations: 103.9 MB / 0.6122 GB, free: 7.137 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002573/0.4899, allocations: 79.94 kB / 0.6123 GB, free: 7.062 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4584/0.9483, allocations: 84.89 MB / 0.6952 GB, free: 98.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 5.129e-06/0.9484, allocations: 0 / 0.6952 GB, free: 98.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002809/0.9487, allocations: 75.28 kB / 0.6953 GB, free: 98.63 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.01364/0.9624, allocations: 3.625 MB / 0.6988 GB, free: 96.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.9624, allocations: 10.59 kB / 0.6988 GB, free: 96.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01389/0.9763, allocations: 3.452 MB / 0.7022 GB, free: 96.65 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00752/0.9839, allocations: 2.921 MB / 0.705 GB, free: 96.16 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002682/0.9842, allocations: 288.4 kB / 0.7053 GB, free: 96.15 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002011/0.9862, allocations: 376.3 kB / 0.7057 GB, free: 96.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02209/1.008, allocations: 10.07 MB / 0.7155 GB, free: 94.93 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001445/1.009, allocations: 24.34 kB / 0.7155 GB, free: 94.93 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007274/1.009, allocations: 177.4 kB / 0.7157 GB, free: 94.92 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001707/1.011, allocations: 1.177 MB / 0.7168 GB, free: 94.83 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01997/1.031, allocations: 9.842 MB / 0.7264 GB, free: 91.86 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04608/1.077, allocations: 34.69 MB / 0.7603 GB, free: 71.13 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007808/1.085, allocations: 4.957 MB / 0.7652 GB, free: 68.84 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002568/1.088, allocations: 2.294 MB / 0.7674 GB, free: 67.96 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/1.089, allocations: 1.877 MB / 0.7692 GB, free: 66.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/1.089, allocations: 54.14 kB / 0.7693 GB, free: 66.15 MB / 490.7 MB Notification: Performance of pre-optimization done (n=229): time 5.31e-06/1.089, allocations: 0 / 0.7693 GB, free: 66.15 MB / 490.7 MB Notification: Performance of matching and sorting (n=235): time 0.02619/1.115, allocations: 13.76 MB / 0.7827 GB, free: 56.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/1.115, allocations: 69.41 kB / 0.7828 GB, free: 56.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003576/1.119, allocations: 2.63 MB / 0.7854 GB, free: 54.59 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003178/1.119, allocations: 61.64 kB / 0.7854 GB, free: 54.52 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001136/1.12, allocations: 2.632 MB / 0.788 GB, free: 52.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007212/1.121, allocations: 0.8534 MB / 0.7888 GB, free: 51.41 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/1.121, allocations: 99.91 kB / 0.7889 GB, free: 51.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002324/1.121, allocations: 0.5343 MB / 0.7894 GB, free: 50.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002502/1.124, allocations: 2.174 MB / 0.7916 GB, free: 49 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00341/1.127, allocations: 5.033 MB / 0.7965 GB, free: 42.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007014/1.134, allocations: 7.936 MB / 0.8042 GB, free: 34.21 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.015e-05/1.134, allocations: 28 kB / 0.8043 GB, free: 34.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01146/1.146, allocations: 7.797 MB / 0.8119 GB, free: 27.46 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.675e-05/1.146, allocations: 48 kB / 0.8119 GB, free: 27.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.859e-05/1.146, allocations: 103.3 kB / 0.812 GB, free: 27.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001919/1.148, allocations: 0.7805 MB / 0.8128 GB, free: 26.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003409/1.151, allocations: 1.184 MB / 0.8139 GB, free: 25.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004385/1.156, allocations: 4.152 MB / 0.818 GB, free: 21.48 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003402/1.159, allocations: 287.8 kB / 0.8183 GB, free: 21.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004734/1.16, allocations: 300 kB / 0.8185 GB, free: 20.9 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.003141/1.163, allocations: 2.024 MB / 0.8205 GB, free: 18.87 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/1.163, allocations: 260.6 kB / 0.8208 GB, free: 18.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00628/1.169, allocations: 4.698 MB / 0.8254 GB, free: 13.89 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.635e-05/1.17, allocations: 39.98 kB / 0.8254 GB, free: 13.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/1.17, allocations: 8 kB / 0.8254 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/1.17, allocations: 7.969 kB / 0.8254 GB, free: 13.84 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.015/1.185, allocations: 10.54 MB / 0.8357 GB, free: 3.188 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-05/1.185, allocations: 8 kB / 0.8357 GB, free: 3.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.186, allocations: 364.2 kB / 0.8361 GB, free: 2.824 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001766/1.188, allocations: 0.6521 MB / 0.8367 GB, free: 2.172 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001642/1.188, allocations: 55.66 kB / 0.8368 GB, free: 2.121 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/1.192, allocations: 3.586 MB / 0.8403 GB, free: 14.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.188e-06/1.192, allocations: 11.94 kB / 0.8403 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.203, allocations: 7.105 MB / 0.8472 GB, free: 7.172 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/1.204, allocations: 313.6 kB / 0.8475 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/1.204, allocations: 39.83 kB / 0.8475 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.206, allocations: 135.8 kB / 0.8477 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003214/1.206, allocations: 133 kB / 0.8478 GB, free: 6.543 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001532/1.206, allocations: 63.98 kB / 0.8479 GB, free: 6.48 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002531/1.209, allocations: 1.599 MB / 0.8494 GB, free: 4.871 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.1e-07/1.209, allocations: 4 kB / 0.8494 GB, free: 4.867 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.003793/1.212, allocations: 0.9335 MB / 0.8503 GB, free: 3.938 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.0004392/1.213, allocations: 186.8 kB / 0.8505 GB, free: 3.746 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007733/1.221, allocations: 5.31 MB / 0.8557 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/1.221, allocations: 4 kB / 0.8557 GB, free: 14.44 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002505/1.223, allocations: 2.004 MB / 0.8577 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003718/1.227, allocations: 366.6 kB / 0.858 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/1.243, allocations: 11.12 MB / 0.8689 GB, free: 0.8633 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003314/1.246, allocations: 3.171 MB / 0.872 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004474/1.251, allocations: 1.949 MB / 0.8739 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006426/1.252, allocations: 203.4 kB / 0.8741 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of SimCode: time 6.11e-07/1.252, allocations: 0 / 0.8741 GB, free: 11.53 MB / 0.5261 GB Notification: Performance of Templates: time 0.2859/1.538, allocations: 28.9 MB / 0.9023 GB, free: 129.4 MB / 0.5261 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/jenkins1/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