Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.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.FrameForcesAndTorques2,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.FrameForcesAndTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.FrameForcesAndTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009436/0.0009433, allocations: 175.4 kB / 16.72 MB, free: 5.055 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.304/1.304, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.0007453/0.0007455, allocations: 81.38 kB / 271.2 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.2977/0.2977, allocations: 43.56 MB / 363.1 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003887/0.0003889, allocations: 12 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09994/0.1004, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2): time 0.2374/0.3378, allocations: 84.87 MB / 0.5622 GB, free: 6.027 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0366/0.3744, allocations: 17.19 MB / 0.579 GB, free: 10.28 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01741/0.3919, allocations: 390.9 kB / 0.5794 GB, free: 10.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01512/0.407, allocations: 4.468 MB / 0.5837 GB, free: 8.641 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0327/0.4397, allocations: 12.95 MB / 0.5964 GB, free: 14.22 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005425/0.4452, allocations: 0.9744 MB / 0.5973 GB, free: 13.25 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.04113/0.4863, allocations: 36.07 MB / 0.6325 GB, free: 9.141 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009788/0.4962, allocations: 7.605 MB / 0.64 GB, free: 1.461 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003384/0.4996, allocations: 1.938 MB / 0.6419 GB, free: 15.52 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004211/0.5038, allocations: 3.146 MB / 0.6449 GB, free: 12.36 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009166/0.5048, allocations: 240 kB / 0.6452 GB, free: 12.12 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/0.5075, allocations: 1.299 MB / 0.6464 GB, free: 10.82 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002586/0.5101, allocations: 2.754 MB / 0.6491 GB, free: 8.062 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003098/0.5132, allocations: 3.027 MB / 0.6521 GB, free: 5.012 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007979/0.5212, allocations: 8.896 MB / 0.6608 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.5212, allocations: 0 / 0.6608 GB, free: 12.09 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5212, allocations: 4 kB / 0.6608 GB, free: 12.09 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0003368/0.5216, allocations: 0 / 0.6608 GB, free: 12.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: 2413 * Number of variables: 2413 Notification: Performance of Generate backend data structure: time 0.01232/0.5339, allocations: 6.262 MB / 0.6669 GB, free: 5.746 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.534, allocations: 12.03 kB / 0.6669 GB, free: 5.734 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.5457, allocations: 2.893 MB / 0.6697 GB, free: 2.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.197/0.7427, allocations: 4.29 MB / 0.6739 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003488/0.7431, allocations: 387.8 kB / 0.6743 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001255/0.7444, allocations: 0.5023 MB / 0.6748 GB, free: 140.9 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02531/0.7697, allocations: 16.4 MB / 0.6908 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001719/0.7699, allocations: 60.81 kB / 0.6908 GB, free: 135.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006162/0.7705, allocations: 244.5 kB / 0.6911 GB, free: 135 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004288/0.7748, allocations: 3.158 MB / 0.6942 GB, free: 134.4 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02653/0.8014, allocations: 14.09 MB / 0.7079 GB, free: 130.1 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06665/0.8681, allocations: 60.68 MB / 0.7672 GB, free: 78.71 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01595/0.8841, allocations: 8.027 MB / 0.775 GB, free: 70.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004329/0.8884, allocations: 4.192 MB / 0.7791 GB, free: 66.34 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.8887, allocations: 61.53 kB / 0.7792 GB, free: 66.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.852e-05/0.8887, allocations: 76.48 kB / 0.7792 GB, free: 66.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=290): time 5.691e-06/0.8887, allocations: 0 / 0.7792 GB, free: 66.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=332): time 0.07672/0.9655, allocations: 35.39 MB / 0.8138 GB, free: 30.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.9656, allocations: 214.1 kB / 0.814 GB, free: 30.36 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00706/0.9726, allocations: 6.331 MB / 0.8202 GB, free: 24.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008877/0.9736, allocations: 81.7 kB / 0.8203 GB, free: 23.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002441/0.976, allocations: 4.539 MB / 0.8247 GB, free: 19.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001559/0.9776, allocations: 1.237 MB / 0.8259 GB, free: 18.17 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005032/0.9781, allocations: 176 kB / 0.8261 GB, free: 18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003394/0.9784, allocations: 0.6859 MB / 0.8267 GB, free: 17.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00505/0.9835, allocations: 4.066 MB / 0.8307 GB, free: 13.23 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006356/0.9899, allocations: 8.929 MB / 0.8394 GB, free: 1.922 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01621/1.006, allocations: 13.93 MB / 0.853 GB, free: 1.621 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/1.006, allocations: 48 kB / 0.8531 GB, free: 1.574 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1156) (initialization): time 0.02736/1.034, allocations: 14.89 MB / 0.8676 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001051/1.034, allocations: 76 kB / 0.8677 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/1.034, allocations: 172 kB / 0.8679 GB, free: 2.418 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005388/1.039, allocations: 2.269 MB / 0.8701 GB, free: 144 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1902/1.23, allocations: 2.088 MB / 0.8721 GB, free: 150.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/1.246, allocations: 13.51 MB / 0.8853 GB, free: 146.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00648/1.252, allocations: 0.5474 MB / 0.8859 GB, free: 146.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001264/1.253, allocations: 0.5074 MB / 0.8863 GB, free: 146.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 769 * Number of states: 0 () * Number of discrete variables: 54 (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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1084): * Single equations (assignments): 1079 * 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.005059/1.258, allocations: 3.163 MB / 0.8894 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001033/1.259, allocations: 0.5509 MB / 0.89 GB, free: 145 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01264/1.272, allocations: 8.447 MB / 0.8982 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.365e-05/1.272, allocations: 34.95 kB / 0.8983 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.911e-05/1.272, allocations: 11.38 kB / 0.8983 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.588e-05/1.272, allocations: 17.25 kB / 0.8983 GB, free: 142 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02799/1.3, allocations: 17.39 MB / 0.9153 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-05/1.3, allocations: 4.531 kB / 0.9153 GB, free: 135.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002897/1.303, allocations: 0.595 MB / 0.9159 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004933/1.308, allocations: 2.043 MB / 0.9178 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004904/1.309, allocations: 63.38 kB / 0.9179 GB, free: 135.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01408/1.323, allocations: 12.72 MB / 0.9303 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.323, allocations: 5.547 kB / 0.9303 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01706/1.34, allocations: 13.49 MB / 0.9435 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002747/1.343, allocations: 1.26 MB / 0.9447 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.344, allocations: 61.73 kB / 0.9448 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002653/1.347, allocations: 289.9 kB / 0.9451 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005288/1.347, allocations: 199.6 kB / 0.9453 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002395/1.347, allocations: 90.95 kB / 0.9453 GB, free: 121 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004938/1.352, allocations: 4.013 MB / 0.9493 GB, free: 117 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-07/1.352, allocations: 0 / 0.9493 GB, free: 117 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006583/1.359, allocations: 1.743 MB / 0.951 GB, free: 115.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.0005832/1.359, allocations: 209.1 kB / 0.9512 GB, free: 115 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01203/1.372, allocations: 9.839 MB / 0.9608 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.372, allocations: 4 kB / 0.9608 GB, free: 105.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005458/1.377, allocations: 4.126 MB / 0.9648 GB, free: 101.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00607/1.383, allocations: 0.6902 MB / 0.9655 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02194/1.405, allocations: 19.52 MB / 0.9845 GB, free: 81.01 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004178/1.409, allocations: 4.83 MB / 0.9893 GB, free: 76.15 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002025/1.411, allocations: 463.3 kB / 0.9897 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of SimCode: time 6.52e-07/1.411, allocations: 0 / 0.9897 GB, free: 75.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.3584/1.77, allocations: 154.2 MB / 1.14 GB, free: 105.5 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForcesAndTorques2/FrameForcesAndTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches