Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002145/0.002145, allocations: 179.3 kB / 16.41 MB, free: 5.707 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.717/1.717, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007313/0.0007312, allocations: 85.34 kB / 270.9 MB, free: 8.348 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.3991/0.3991, allocations: 43.55 MB / 362.7 MB, free: 51.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004087/0.0004087, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 58.85 MB / 490.2 MB, free: 10.98 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3268/0.4645, allocations: 66.86 MB / 0.544 GB, free: 2.879 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.04184/0.5064, allocations: 13.88 MB / 0.5576 GB, free: 9.422 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02114/0.5276, allocations: 319.6 kB / 0.5579 GB, free: 9.371 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01416/0.5418, allocations: 3.494 MB / 0.5613 GB, free: 8.133 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03726/0.5791, allocations: 10.34 MB / 0.5714 GB, free: 3.645 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005345/0.5844, allocations: 0.7912 MB / 0.5722 GB, free: 3.141 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.04946/0.6339, allocations: 35.12 MB / 0.6065 GB, free: 3.406 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01075/0.6447, allocations: 5.745 MB / 0.6121 GB, free: 13.63 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004557/0.6493, allocations: 1.724 MB / 0.6138 GB, free: 11.9 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005212/0.6545, allocations: 2.695 MB / 0.6164 GB, free: 9.199 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002001/0.6566, allocations: 192 kB / 0.6166 GB, free: 9.012 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003929/0.6605, allocations: 1.096 MB / 0.6177 GB, free: 7.914 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003658/0.6642, allocations: 2.365 MB / 0.62 GB, free: 5.543 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002511/0.6668, allocations: 1.115 MB / 0.6211 GB, free: 4.418 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009862/0.6766, allocations: 7.415 MB / 0.6283 GB, free: 12.98 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.346e-06/0.6767, allocations: 0 / 0.6283 GB, free: 12.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6767, allocations: 0 / 0.6283 GB, free: 12.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004739/0.6772, allocations: 0 / 0.6283 GB, free: 12.98 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1959 * Number of variables: 1959 Notification: Performance of Generate backend data structure: time 0.01406/0.6912, allocations: 5.447 MB / 0.6336 GB, free: 7.461 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6913, allocations: 8.031 kB / 0.6336 GB, free: 7.453 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01262/0.7039, allocations: 2.722 MB / 0.6363 GB, free: 4.719 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009823/0.7138, allocations: 3.923 MB / 0.6401 GB, free: 0.7383 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/0.7142, allocations: 304.9 kB / 0.6404 GB, free: 448 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001851/0.716, allocations: 419.6 kB / 0.6408 GB, free: 28 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02883/0.7449, allocations: 12.99 MB / 0.6535 GB, free: 2.133 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004137/0.7454, allocations: 67.38 kB / 0.6536 GB, free: 2.066 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002036/0.7474, allocations: 195.8 kB / 0.6538 GB, free: 1.875 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004665/0.7521, allocations: 2.503 MB / 0.6562 GB, free: 15.37 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02351/0.7756, allocations: 10.81 MB / 0.6668 GB, free: 4.543 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3383/1.114, allocations: 50.14 MB / 0.7157 GB, free: 103.8 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/1.124, allocations: 4.555 MB / 0.7202 GB, free: 102.1 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003417/1.128, allocations: 2.441 MB / 0.7226 GB, free: 101.1 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/1.139, allocations: 6.737 MB / 0.7291 GB, free: 97.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/1.139, allocations: 61.58 kB / 0.7292 GB, free: 97.73 MB / 490.7 MB Notification: Performance of pre-optimization done (n=183): time 5e-06/1.139, allocations: 0 / 0.7292 GB, free: 97.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=195): time 0.0535/1.193, allocations: 19.36 MB / 0.7481 GB, free: 89.94 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.6e-05/1.193, allocations: 231.9 kB / 0.7483 GB, free: 89.68 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008071/1.201, allocations: 5.885 MB / 0.7541 GB, free: 87.27 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005379/1.201, allocations: 52.95 kB / 0.7541 GB, free: 87.22 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002357/1.204, allocations: 4.065 MB / 0.7581 GB, free: 83.68 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00106/1.205, allocations: 0.7739 MB / 0.7588 GB, free: 83.04 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/1.205, allocations: 150.4 kB / 0.759 GB, free: 82.92 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.00029/1.206, allocations: 0.6214 MB / 0.7596 GB, free: 82.39 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003335/1.209, allocations: 2.609 MB / 0.7621 GB, free: 81.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005162/1.214, allocations: 7.128 MB / 0.7691 GB, free: 71.69 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00577/1.22, allocations: 4.204 MB / 0.7732 GB, free: 67.48 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.978e-05/1.22, allocations: 44 kB / 0.7733 GB, free: 67.44 MB / 490.7 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.01796/1.238, allocations: 10.51 MB / 0.7835 GB, free: 56.91 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001542/1.238, allocations: 72 kB / 0.7836 GB, free: 56.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002198/1.238, allocations: 161.9 kB / 0.7837 GB, free: 56.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003017/1.241, allocations: 1.277 MB / 0.785 GB, free: 55.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005712/1.247, allocations: 1.723 MB / 0.7867 GB, free: 53.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009092/1.256, allocations: 7.906 MB / 0.7944 GB, free: 45.51 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00734/1.264, allocations: 415.5 kB / 0.7948 GB, free: 45.11 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001611/1.265, allocations: 452 kB / 0.7952 GB, free: 44.66 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 45 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (918): * Single equations (assignments): 911 * Array equations: 5 * 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%) 13,(2,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00614/1.271, allocations: 2.703 MB / 0.7979 GB, free: 41.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001525/1.273, allocations: 481.7 kB / 0.7983 GB, free: 41.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007948/1.281, allocations: 4.031 MB / 0.8023 GB, free: 37.42 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.509e-05/1.281, allocations: 27.95 kB / 0.8023 GB, free: 37.39 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.968e-05/1.281, allocations: 8 kB / 0.8023 GB, free: 37.39 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.324e-05/1.281, allocations: 11.97 kB / 0.8023 GB, free: 37.38 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02075/1.302, allocations: 9.551 MB / 0.8116 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.153e-05/1.302, allocations: 288 / 0.8116 GB, free: 27.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001614/1.304, allocations: 327.5 kB / 0.8119 GB, free: 27.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002612/1.306, allocations: 1.005 MB / 0.8129 GB, free: 26.43 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002899/1.306, allocations: 35.98 kB / 0.813 GB, free: 26.39 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007307/1.314, allocations: 7.231 MB / 0.82 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.431e-06/1.314, allocations: 7.938 kB / 0.82 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009851/1.324, allocations: 6.854 MB / 0.8267 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/1.326, allocations: 0.8601 MB / 0.8276 GB, free: 11.09 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001287/1.327, allocations: 36 kB / 0.8276 GB, free: 11.06 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/1.33, allocations: 115.1 kB / 0.8277 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/1.33, allocations: 121 kB / 0.8278 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001411/1.33, allocations: 55.95 kB / 0.8279 GB, free: 10.78 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005948/1.336, allocations: 3.751 MB / 0.8315 GB, free: 7.055 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.3e-07/1.336, allocations: 0 / 0.8315 GB, free: 7.055 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007848/1.344, allocations: 1.288 MB / 0.8328 GB, free: 5.77 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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 {(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006941/1.345, allocations: 175.6 kB / 0.833 GB, free: 5.594 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009698/1.355, allocations: 6.3 MB / 0.8391 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.676e-06/1.355, allocations: 0.5625 kB / 0.8391 GB, free: 15.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003031/1.358, allocations: 1.901 MB / 0.841 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005039/1.363, allocations: 0.5919 MB / 0.8415 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02785/1.391, allocations: 14.67 MB / 0.8559 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005358/1.396, allocations: 4.1 MB / 0.8599 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/1.398, allocations: 375.4 kB / 0.8602 GB, free: 9.566 MB / 0.5105 GB Notification: Performance of SimCode: time 1.232e-06/1.398, allocations: 3.938 kB / 0.8602 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of Templates: time 0.4056/1.803, allocations: 123.7 MB / 0.9811 GB, free: 76.66 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches