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.002392/0.002397, allocations: 186.3 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.278/2.278, allocations: 205.4 MB / 222.5 MB, free: 13.59 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.001227/0.001227, allocations: 94.86 kB / 270.9 MB, free: 13.12 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.292/0.292, allocations: 43.57 MB / 362.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004619/0.0004621, allocations: 12 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 58.86 MB / 490.2 MB, free: 9.32 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3): time 0.4617/0.5882, allocations: 76.76 MB / 0.5537 GB, free: 4.301 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.05381/0.6421, allocations: 17.42 MB / 0.5707 GB, free: 7.992 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02281/0.665, allocations: 381.4 kB / 0.5711 GB, free: 7.934 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01642/0.6814, allocations: 3.858 MB / 0.5748 GB, free: 5.07 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04786/0.7294, allocations: 10.92 MB / 0.5855 GB, free: 10.7 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00743/0.7368, allocations: 0.9126 MB / 0.5864 GB, free: 9.785 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.07506/0.812, allocations: 27.25 MB / 0.613 GB, free: 14.5 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01605/0.8281, allocations: 7.222 MB / 0.62 GB, free: 7.219 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004326/0.8324, allocations: 1.573 MB / 0.6216 GB, free: 5.641 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005061/0.8375, allocations: 2.141 MB / 0.6237 GB, free: 3.492 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001694/0.8393, allocations: 236 kB / 0.6239 GB, free: 3.262 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004251/0.8436, allocations: 1.092 MB / 0.625 GB, free: 2.168 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0047/0.8483, allocations: 2.49 MB / 0.6274 GB, free: 15.67 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002841/0.8512, allocations: 1.314 MB / 0.6287 GB, free: 14.35 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.867, allocations: 8.931 MB / 0.6374 GB, free: 5.391 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.8671, allocations: 0 / 0.6374 GB, free: 5.391 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.016e-06/0.8671, allocations: 3.938 kB / 0.6374 GB, free: 5.387 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003837/0.8675, allocations: 0 / 0.6374 GB, free: 5.387 MB / 442.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.02496/0.8925, allocations: 6.628 MB / 0.6439 GB, free: 14.68 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.8925, allocations: 8.031 kB / 0.6439 GB, free: 14.67 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09083/0.9834, allocations: 8.249 MB / 0.6519 GB, free: 6.402 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01564/0.9991, allocations: 4.555 MB / 0.6564 GB, free: 1.789 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005883/0.9997, allocations: 385.8 kB / 0.6568 GB, free: 1.41 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002627/1.002, allocations: 0.5035 MB / 0.6573 GB, free: 0.9062 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0504/1.053, allocations: 16.46 MB / 0.6733 GB, free: 15.56 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003147/1.053, allocations: 59.44 kB / 0.6734 GB, free: 15.5 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001898/1.055, allocations: 235.8 kB / 0.6736 GB, free: 15.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01053/1.066, allocations: 3.162 MB / 0.6767 GB, free: 12.11 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04982/1.116, allocations: 14.2 MB / 0.6906 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4695/1.585, allocations: 58.9 MB / 0.7481 GB, free: 150.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03121/1.616, allocations: 7.237 MB / 0.7551 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03944/1.656, allocations: 15.16 MB / 0.77 GB, free: 140.9 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.737e-05/1.656, allocations: 63.41 kB / 0.77 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=306): time 7.294e-06/1.656, allocations: 0 / 0.77 GB, free: 140.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=348): time 0.1424/1.798, allocations: 32.33 MB / 0.8016 GB, free: 114.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/1.799, allocations: 218.2 kB / 0.8018 GB, free: 114 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01116/1.81, allocations: 5.583 MB / 0.8072 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001091/1.811, allocations: 77.03 kB / 0.8073 GB, free: 108.4 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003436/1.814, allocations: 4.224 MB / 0.8114 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002205/1.817, allocations: 1.276 MB / 0.8127 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001396/1.818, allocations: 164 kB / 0.8128 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006926/1.819, allocations: 0.65 MB / 0.8135 GB, free: 102.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01016/1.829, allocations: 3.687 MB / 0.8171 GB, free: 98.36 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0123/1.841, allocations: 8.118 MB / 0.825 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01288/1.854, allocations: 5.344 MB / 0.8302 GB, free: 82.81 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001435/1.854, allocations: 48 kB / 0.8303 GB, free: 82.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1066) (initialization): time 0.03627/1.891, allocations: 13.02 MB / 0.843 GB, free: 69.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001111/1.891, allocations: 72.97 kB / 0.8431 GB, free: 69.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002001/1.891, allocations: 156 kB / 0.8432 GB, free: 69.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007648/1.899, allocations: 1.793 MB / 0.845 GB, free: 67.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01273/1.912, allocations: 1.93 MB / 0.8468 GB, free: 65.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02353/1.935, allocations: 12.33 MB / 0.8589 GB, free: 53.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009576/1.945, allocations: 490.7 kB / 0.8594 GB, free: 52.67 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00189/1.947, allocations: 479.9 kB / 0.8598 GB, free: 52.2 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 708 * 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 (994): * Single equations (assignments): 989 * 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.008197/1.955, allocations: 3.093 MB / 0.8628 GB, free: 49.09 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.956, allocations: 0.5052 MB / 0.8633 GB, free: 48.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02277/1.979, allocations: 7.643 MB / 0.8708 GB, free: 40.88 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.127e-05/1.979, allocations: 40 kB / 0.8708 GB, free: 40.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.665e-05/1.979, allocations: 8 kB / 0.8708 GB, free: 40.83 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.036e-05/1.979, allocations: 19.94 kB / 0.8709 GB, free: 40.81 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04756/2.027, allocations: 16.43 MB / 0.8869 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.703e-05/2.027, allocations: 0 / 0.8869 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006403/2.034, allocations: 0.6163 MB / 0.8875 GB, free: 23.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007132/2.041, allocations: 1.527 MB / 0.889 GB, free: 22.18 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009945/2.042, allocations: 63.98 kB / 0.889 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02264/2.064, allocations: 11.53 MB / 0.9003 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/2.064, allocations: 0 / 0.9003 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3818/2.446, allocations: 12.3 MB / 0.9123 GB, free: 165.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004559/2.451, allocations: 1.126 MB / 0.9134 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002023/2.453, allocations: 55.11 kB / 0.9135 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005954/2.459, allocations: 249 kB / 0.9137 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001549/2.461, allocations: 196.6 kB / 0.9139 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005048/2.461, allocations: 87.7 kB / 0.914 GB, free: 165.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009786/2.471, allocations: 3.556 MB / 0.9174 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.21e-07/2.471, allocations: 2.344 kB / 0.9175 GB, free: 165.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01084/2.482, allocations: 1.646 MB / 0.9191 GB, free: 165.2 MB / 0.5105 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.001574/2.483, allocations: 228 kB / 0.9193 GB, free: 165.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02422/2.508, allocations: 9.071 MB / 0.9281 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/2.508, allocations: 0 / 0.9281 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0114/2.519, allocations: 3.875 MB / 0.9319 GB, free: 160.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005893/2.525, allocations: 0.6204 MB / 0.9325 GB, free: 160 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04524/2.57, allocations: 18.92 MB / 0.951 GB, free: 150.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.581, allocations: 4.94 MB / 0.9558 GB, free: 148.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003546/2.584, allocations: 438.7 kB / 0.9562 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.552e-06/2.584, allocations: 4 kB / 0.9562 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.2491/2.833, allocations: 143.3 MB / 1.096 GB, free: 6.547 MB / 0.5105 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