Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.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.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009199/0.0009199, allocations: 180.9 kB / 17.41 MB, free: 4.297 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.276/1.276, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.0007458/0.0007458, allocations: 89.34 kB / 271.9 MB, free: 8.25 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.2832/0.2832, allocations: 43.55 MB / 363.8 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 12 kB / 432.6 MB, free: 5.879 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1059, allocations: 58.85 MB / 491.4 MB, free: 10.95 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.286/0.3919, allocations: 107.2 MB / 0.5846 GB, free: 11.17 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002094/0.3922, allocations: 79.97 kB / 0.5847 GB, free: 11.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5571/0.9493, allocations: 129.7 MB / 0.7114 GB, free: 84.66 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.9494, allocations: 3.938 kB / 0.7114 GB, free: 84.65 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0004018/0.9498, allocations: 132.5 kB / 0.7115 GB, free: 84.64 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: 2377 * Number of variables: 2377 Notification: Performance of Generate backend data structure: time 0.02435/0.9741, allocations: 6.533 MB / 0.7179 GB, free: 81.91 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.9742, allocations: 11.84 kB / 0.7179 GB, free: 81.91 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02534/0.9996, allocations: 5.455 MB / 0.7233 GB, free: 81.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01674/1.016, allocations: 6.137 MB / 0.7292 GB, free: 80.55 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007864/1.017, allocations: 0.4988 MB / 0.7297 GB, free: 80.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004139/1.021, allocations: 0.6588 MB / 0.7304 GB, free: 80.53 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04064/1.062, allocations: 16.43 MB / 0.7464 GB, free: 74.38 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003912/1.062, allocations: 86.97 kB / 0.7465 GB, free: 74.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00292/1.065, allocations: 318.5 kB / 0.7468 GB, free: 74.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002412/1.068, allocations: 1.571 MB / 0.7483 GB, free: 73.86 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0305/1.098, allocations: 13.92 MB / 0.7619 GB, free: 69.59 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07939/1.178, allocations: 66.25 MB / 0.8266 GB, free: 17.06 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01606/1.194, allocations: 6.931 MB / 0.8334 GB, free: 9.996 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004954/1.199, allocations: 4.225 MB / 0.8375 GB, free: 5.758 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02371/1.223, allocations: 14.94 MB / 0.8521 GB, free: 6.762 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.097e-05/1.223, allocations: 76.48 kB / 0.8522 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=306): time 5.801e-06/1.223, allocations: 0 / 0.8522 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of matching and sorting (n=348): time 0.5084/1.731, allocations: 29.95 MB / 0.8814 GB, free: 92.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001467/1.731, allocations: 217.5 kB / 0.8816 GB, free: 92.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01719/1.749, allocations: 5.311 MB / 0.8868 GB, free: 92.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0012/1.75, allocations: 82.09 kB / 0.8869 GB, free: 92.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.004142/1.754, allocations: 4.416 MB / 0.8912 GB, free: 89.79 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002773/1.757, allocations: 1.278 MB / 0.8925 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001864/1.759, allocations: 161.3 kB / 0.8926 GB, free: 89.04 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001065/1.76, allocations: 0.654 MB / 0.8933 GB, free: 88.71 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01163/1.772, allocations: 3.615 MB / 0.8968 GB, free: 88.69 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01775/1.789, allocations: 8.13 MB / 0.9047 GB, free: 82.33 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02912/1.819, allocations: 12.74 MB / 0.9172 GB, free: 73.37 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000397/1.819, allocations: 41.84 kB / 0.9172 GB, free: 73.37 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.04545/1.865, allocations: 13.08 MB / 0.93 GB, free: 68.51 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005396/1.865, allocations: 74.78 kB / 0.9301 GB, free: 68.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004457/1.866, allocations: 158.5 kB / 0.9302 GB, free: 68.51 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008134/1.874, allocations: 1.652 MB / 0.9318 GB, free: 68.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01352/1.887, allocations: 1.922 MB / 0.9337 GB, free: 67.99 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/1.912, allocations: 11.38 MB / 0.9448 GB, free: 61.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01446/1.927, allocations: 0.4905 MB / 0.9453 GB, free: 61.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003762/1.931, allocations: 479.5 kB / 0.9458 GB, free: 61.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 51 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (999): * Single equations (assignments): 994 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01448/1.945, allocations: 3.091 MB / 0.9488 GB, free: 60.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002536/1.948, allocations: 0.5015 MB / 0.9493 GB, free: 59.95 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0257/1.973, allocations: 7.457 MB / 0.9565 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.615e-05/1.974, allocations: 36.14 kB / 0.9566 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.239e-05/1.974, allocations: 14.02 kB / 0.9566 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-05/1.974, allocations: 13.69 kB / 0.9566 GB, free: 57.15 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05824/2.032, allocations: 16.11 MB / 0.9723 GB, free: 51.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.083e-05/2.032, allocations: 3.688 kB / 0.9723 GB, free: 51.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006438/2.039, allocations: 0.6035 MB / 0.9729 GB, free: 51.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006274/2.045, allocations: 1.413 MB / 0.9743 GB, free: 50.76 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001346/2.046, allocations: 64.48 kB / 0.9744 GB, free: 50.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0232/2.07, allocations: 10.56 MB / 0.9847 GB, free: 41.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-05/2.07, allocations: 4 kB / 0.9847 GB, free: 41.25 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03707/2.107, allocations: 11.94 MB / 0.9964 GB, free: 30.94 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005832/2.113, allocations: 1.1 MB / 0.9974 GB, free: 29.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003522/2.116, allocations: 62.12 kB / 0.9975 GB, free: 29.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007424/2.124, allocations: 260.1 kB / 0.9977 GB, free: 29.7 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001777/2.126, allocations: 201.6 kB / 0.9979 GB, free: 29.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001143/2.127, allocations: 87.56 kB / 0.998 GB, free: 29.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0126/2.139, allocations: 3.328 MB / 1.001 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.894e-06/2.14, allocations: 0 / 1.001 GB, free: 26.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01864/2.158, allocations: 1.612 MB / 1.003 GB, free: 25.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (294): * Single equations (assignments): 289 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002096/2.16, allocations: 218.8 kB / 1.003 GB, free: 24.96 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02652/2.187, allocations: 8.978 MB / 1.012 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/2.187, allocations: 0 / 1.012 GB, free: 17.04 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01239/2.199, allocations: 3.78 MB / 1.015 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01278/2.212, allocations: 0.6622 MB / 1.016 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05493/2.267, allocations: 18.95 MB / 1.035 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01466/2.282, allocations: 4.804 MB / 1.039 GB, free: 7.293 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003597/2.286, allocations: 439.3 kB / 1.04 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of SimCode: time 1.473e-06/2.286, allocations: 3.188 kB / 1.04 GB, free: 6.863 MB / 0.5105 GB Notification: Performance of Templates: time 0.7583/3.044, allocations: 148.2 MB / 1.184 GB, free: 47.81 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques3/FrameForcesAndTorques3.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches