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.001433/0.001433, allocations: 175.1 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.5 MB / 230.7 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001012/0.001013, allocations: 93.97 kB / 281.6 MB, free: 5.305 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.2068/0.2068, allocations: 44.16 MB / 376.5 MB, free: 3.027 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.088e-05/2.09e-05, allocations: 0 / 444.6 MB, free: 15.23 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1257, allocations: 61.92 MB / 0.4947 GB, free: 1.25 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3839/0.5097, allocations: 103.1 MB / 0.5953 GB, free: 9.422 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/0.5099, allocations: 71.95 kB / 0.5954 GB, free: 9.352 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2185/0.7284, allocations: 84.49 MB / 0.6779 GB, free: 4.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.7285, allocations: 4 kB / 0.6779 GB, free: 4.156 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002032/0.7287, allocations: 68 kB / 0.678 GB, free: 4.09 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.01234/0.741, allocations: 3.592 MB / 0.6815 GB, free: 448 kB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.7411, allocations: 11.98 kB / 0.6815 GB, free: 436 kB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01578/0.7569, allocations: 3.489 MB / 0.6849 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/0.7685, allocations: 3.98 MB / 0.6888 GB, free: 8.895 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003254/0.7689, allocations: 124 kB / 0.6889 GB, free: 8.773 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/0.7714, allocations: 223.9 kB / 0.6891 GB, free: 8.555 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01353/0.7849, allocations: 7.153 MB / 0.6961 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2769/1.062, allocations: 9.307 MB / 0.7052 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001564/1.062, allocations: 25.7 kB / 0.7052 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008537/1.063, allocations: 17.7 kB / 0.7053 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001722/1.065, allocations: 1.174 MB / 0.7064 GB, free: 119.4 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04392/1.109, allocations: 32.34 MB / 0.738 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004142/1.113, allocations: 4.164 MB / 0.7421 GB, free: 103.8 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002322/1.115, allocations: 2.229 MB / 0.7442 GB, free: 103 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/1.117, allocations: 1.882 MB / 0.7461 GB, free: 101.2 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.337e-05/1.117, allocations: 50.62 kB / 0.7461 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=231): time 7.053e-06/1.117, allocations: 7.625 kB / 0.7461 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=238): time 0.02187/1.138, allocations: 13.95 MB / 0.7597 GB, free: 96.82 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/1.139, allocations: 74.16 kB / 0.7598 GB, free: 96.75 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002719/1.141, allocations: 2.22 MB / 0.762 GB, free: 95.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002695/1.142, allocations: 28.02 kB / 0.762 GB, free: 95.88 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001083/1.143, allocations: 2.716 MB / 0.7647 GB, free: 93.92 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006229/1.143, allocations: 0.842 MB / 0.7655 GB, free: 93.29 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/1.143, allocations: 3.75 kB / 0.7655 GB, free: 93.29 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002724/1.144, allocations: 0.5961 MB / 0.7661 GB, free: 92.85 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/1.146, allocations: 2.122 MB / 0.7681 GB, free: 92.16 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/1.149, allocations: 5.186 MB / 0.7732 GB, free: 87.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/1.153, allocations: 3.338 MB / 0.7765 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-05/1.153, allocations: 30.78 kB / 0.7765 GB, free: 86.38 MB / 0.4948 GB Notification: Performance of matching and sorting (n=735) (initialization): time 0.009921/1.163, allocations: 7.386 MB / 0.7837 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/1.163, allocations: 51.41 kB / 0.7838 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.7e-05/1.163, allocations: 111.4 kB / 0.7839 GB, free: 84.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/1.165, allocations: 0.8116 MB / 0.7847 GB, free: 83.98 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003781/1.169, allocations: 1.264 MB / 0.7859 GB, free: 83.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004435/1.173, allocations: 3.983 MB / 0.7898 GB, free: 79.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003794/1.177, allocations: 192.8 kB / 0.79 GB, free: 79.37 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007241/1.178, allocations: 328 kB / 0.7903 GB, free: 79.06 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 497 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (675): * Single equations (assignments): 668 * 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.0008538/1.179, allocations: 377.2 kB / 0.7906 GB, free: 78.68 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/1.179, allocations: 264.5 kB / 0.7909 GB, free: 78.42 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006539/1.186, allocations: 4.551 MB / 0.7953 GB, free: 74.74 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.256e-05/1.186, allocations: 52.17 kB / 0.7954 GB, free: 74.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/1.186, allocations: 0 / 0.7954 GB, free: 74.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/1.186, allocations: 10.89 kB / 0.7954 GB, free: 74.69 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/1.199, allocations: 9.51 MB / 0.8047 GB, free: 66.77 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.199, allocations: 8 kB / 0.8047 GB, free: 66.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/1.201, allocations: 367.5 kB / 0.805 GB, free: 66.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001844/1.203, allocations: 0.6493 MB / 0.8057 GB, free: 66.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/1.203, allocations: 16 kB / 0.8057 GB, free: 66.06 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003637/1.207, allocations: 3.464 MB / 0.8091 GB, free: 62.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.207, allocations: 11.94 kB / 0.8091 GB, free: 62.97 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008146/1.215, allocations: 7.582 MB / 0.8165 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005992/1.215, allocations: 305.5 kB / 0.8168 GB, free: 55.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/1.216, allocations: 15.19 kB / 0.8168 GB, free: 55.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/1.217, allocations: 106.3 kB / 0.8169 GB, free: 55.65 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002294/1.217, allocations: 136.9 kB / 0.817 GB, free: 55.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001387/1.217, allocations: 67.56 kB / 0.8171 GB, free: 55.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001736/1.219, allocations: 1.449 MB / 0.8185 GB, free: 54.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/1.219, allocations: 0 / 0.8185 GB, free: 54.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004295/1.223, allocations: 0.8163 MB / 0.8193 GB, free: 53.43 MB / 0.4948 GB 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.0004245/1.224, allocations: 159.7 kB / 0.8195 GB, free: 53.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006607/1.23, allocations: 5.154 MB / 0.8245 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/1.23, allocations: 384 / 0.8245 GB, free: 48.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002385/1.233, allocations: 1.962 MB / 0.8264 GB, free: 46.83 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/1.234, allocations: 235.8 kB / 0.8266 GB, free: 46.62 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.247, allocations: 7.85 MB / 0.8343 GB, free: 39.51 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004375/1.252, allocations: 3.249 MB / 0.8375 GB, free: 36.29 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.008185/1.26, allocations: 2.064 MB / 0.8395 GB, free: 34.22 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/1.261, allocations: 195.4 kB / 0.8397 GB, free: 34.03 MB / 0.4948 GB Notification: Performance of SimCode: time 9.52e-07/1.261, allocations: 7.938 kB / 0.8397 GB, free: 34.02 MB / 0.4948 GB Notification: Performance of Templates: time 0.06729/1.328, allocations: 25.58 MB / 0.8647 GB, free: 8.922 MB / 0.4948 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