Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 179.7 kB / 16.41 MB, free: 5.73 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.674/1.674, allocations: 205.4 MB / 222.6 MB, free: 9.102 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.0009708/0.0009705, allocations: 100.8 kB / 270.9 MB, free: 8.34 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.3694/0.3694, allocations: 43.55 MB / 362.7 MB, free: 51.95 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004182/0.0004182, allocations: 12 kB / 431.4 MB, free: 5.918 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1378, allocations: 58.85 MB / 490.3 MB, free: 10.97 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques2): time 0.3578/0.4956, allocations: 114.2 MB / 0.5903 GB, free: 0.957 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.07299/0.5686, allocations: 22.57 MB / 0.6124 GB, free: 12.9 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03915/0.6078, allocations: 0.53 MB / 0.6129 GB, free: 12.37 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02446/0.6324, allocations: 6.039 MB / 0.6188 GB, free: 6.734 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05846/0.6909, allocations: 17.44 MB / 0.6358 GB, free: 5.234 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009168/0.7001, allocations: 1.237 MB / 0.637 GB, free: 4 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.4219/1.122, allocations: 67.68 MB / 0.7031 GB, free: 35.7 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02493/1.147, allocations: 10.05 MB / 0.7129 GB, free: 34.92 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009092/1.156, allocations: 2.672 MB / 0.7155 GB, free: 34.92 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01077/1.167, allocations: 4.321 MB / 0.7198 GB, free: 34.91 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003658/1.171, allocations: 310.4 kB / 0.7201 GB, free: 34.72 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00797/1.179, allocations: 1.179 MB / 0.7212 GB, free: 33.98 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.01042/1.189, allocations: 3.736 MB / 0.7249 GB, free: 31.32 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006621/1.196, allocations: 1.714 MB / 0.7265 GB, free: 30.73 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02013/1.216, allocations: 11.62 MB / 0.7379 GB, free: 20.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.118e-06/1.216, allocations: 0 / 0.7379 GB, free: 20.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 4.178e-06/1.216, allocations: 4 kB / 0.7379 GB, free: 20.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007815/1.217, allocations: 0 / 0.7379 GB, free: 20.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: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.03234/1.249, allocations: 8.338 MB / 0.746 GB, free: 12.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.749e-05/1.249, allocations: 12.02 kB / 0.746 GB, free: 12.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02839/1.278, allocations: 3.796 MB / 0.7497 GB, free: 9.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02408/1.302, allocations: 6.456 MB / 0.756 GB, free: 4.652 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007081/1.303, allocations: 499.8 kB / 0.7565 GB, free: 4.379 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00343/1.306, allocations: 0.6618 MB / 0.7572 GB, free: 3.945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06326/1.37, allocations: 19.91 MB / 0.7766 GB, free: 4.562 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007748/1.37, allocations: 90.48 kB / 0.7767 GB, free: 4.512 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003266/1.374, allocations: 309 kB / 0.777 GB, free: 4.426 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01004/1.384, allocations: 3.604 MB / 0.7805 GB, free: 1.465 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05239/1.436, allocations: 16.71 MB / 0.7968 GB, free: 5.816 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1501/1.586, allocations: 73.14 MB / 0.8682 GB, free: 9.668 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03309/1.619, allocations: 8.495 MB / 0.8765 GB, free: 1.223 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008786/1.628, allocations: 4.543 MB / 0.881 GB, free: 12.67 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/1.629, allocations: 0.6658 MB / 0.8816 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.019e-05/1.629, allocations: 70.83 kB / 0.8817 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=311): time 7.875e-06/1.629, allocations: 0 / 0.8817 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=335): time 0.5264/2.156, allocations: 35.68 MB / 0.9165 GB, free: 225.9 MB / 0.5887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/2.156, allocations: 296.6 kB / 0.9168 GB, free: 225.6 MB / 0.5887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0107/2.167, allocations: 7.763 MB / 0.9244 GB, free: 222.9 MB / 0.5887 GB Notification: Performance of collectPreVariables (initialization): time 0.0009852/2.168, allocations: 77.58 kB / 0.9245 GB, free: 222.8 MB / 0.5887 GB Notification: Performance of collectInitialEqns (initialization): time 0.00355/2.171, allocations: 5.739 MB / 0.9301 GB, free: 218.4 MB / 0.5887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001859/2.173, allocations: 1.27 MB / 0.9313 GB, free: 217.5 MB / 0.5887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000606/2.174, allocations: 206.4 kB / 0.9315 GB, free: 217.3 MB / 0.5887 GB Notification: Performance of setup shared object (initialization): time 0.0004006/2.174, allocations: 0.7371 MB / 0.9322 GB, free: 216.8 MB / 0.5887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00638/2.181, allocations: 4.081 MB / 0.9362 GB, free: 215.5 MB / 0.5887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01073/2.191, allocations: 9.802 MB / 0.9458 GB, free: 206.5 MB / 0.5887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01042/2.202, allocations: 6.151 MB / 0.9518 GB, free: 204.1 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/2.202, allocations: 55.47 kB / 0.9519 GB, free: 204.1 MB / 0.5887 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.02992/2.232, allocations: 15.74 MB / 0.9672 GB, free: 198.4 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001627/2.232, allocations: 91.25 kB / 0.9673 GB, free: 198.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002509/2.232, allocations: 198.9 kB / 0.9675 GB, free: 198.4 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005533/2.238, allocations: 2.352 MB / 0.9698 GB, free: 198 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008235/2.246, allocations: 2.36 MB / 0.9721 GB, free: 197.7 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01585/2.262, allocations: 15.59 MB / 0.9873 GB, free: 183.7 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01061/2.273, allocations: 0.5832 MB / 0.9879 GB, free: 183.2 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001924/2.275, allocations: 0.582 MB / 0.9885 GB, free: 182.6 MB / 0.5887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 907 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],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],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 (1250): * Single equations (assignments): 1243 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007487/2.282, allocations: 3.893 MB / 0.9923 GB, free: 178.8 MB / 0.5887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001512/2.284, allocations: 0.6633 MB / 0.9929 GB, free: 178.1 MB / 0.5887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01238/2.296, allocations: 7.963 MB / 1.001 GB, free: 170.1 MB / 0.5887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-05/2.296, allocations: 39.42 kB / 1.001 GB, free: 170.1 MB / 0.5887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.059e-05/2.296, allocations: 11.95 kB / 1.001 GB, free: 170.1 MB / 0.5887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.521e-05/2.296, allocations: 23.94 kB / 1.001 GB, free: 170.1 MB / 0.5887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02945/2.326, allocations: 17.34 MB / 1.018 GB, free: 152.7 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.431e-05/2.326, allocations: 4 kB / 1.018 GB, free: 152.7 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002794/2.329, allocations: 0.5577 MB / 1.018 GB, free: 152.2 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004952/2.334, allocations: 2 MB / 1.02 GB, free: 150.2 MB / 0.5887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005296/2.334, allocations: 59.98 kB / 1.02 GB, free: 150.1 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01385/2.348, allocations: 14.44 MB / 1.034 GB, free: 135.2 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/2.348, allocations: 4 kB / 1.034 GB, free: 135.2 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01698/2.365, allocations: 12.36 MB / 1.046 GB, free: 122.7 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003846/2.369, allocations: 1.279 MB / 1.048 GB, free: 121.4 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/2.371, allocations: 61.02 kB / 1.048 GB, free: 121.3 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003402/2.374, allocations: 245.4 kB / 1.048 GB, free: 121.1 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004601/2.375, allocations: 194.3 kB / 1.048 GB, free: 120.9 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/2.375, allocations: 84.92 kB / 1.048 GB, free: 120.8 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.007496/2.382, allocations: 4.945 MB / 1.053 GB, free: 115.9 MB / 0.5887 GB Notification: Performance of sort global known variables: time 4.41e-07/2.382, allocations: 0 / 1.053 GB, free: 115.9 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.01013/2.393, allocations: 2.017 MB / 1.055 GB, free: 113.9 MB / 0.5887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,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 (276): * Single equations (assignments): 269 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 11,(1,100.0%) 11,(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.0007453/2.393, allocations: 199.1 kB / 1.055 GB, free: 113.7 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 0.01423/2.408, allocations: 10.06 MB / 1.065 GB, free: 103.6 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/2.408, allocations: 0 / 1.065 GB, free: 103.6 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 0.004727/2.412, allocations: 3.636 MB / 1.069 GB, free: 99.96 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007157/2.42, allocations: 0.9263 MB / 1.07 GB, free: 99.04 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03582/2.455, allocations: 22.88 MB / 1.092 GB, free: 76.11 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007203/2.463, allocations: 5.897 MB / 1.098 GB, free: 70.18 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002308/2.465, allocations: 0.5111 MB / 1.098 GB, free: 69.66 MB / 0.5887 GB Notification: Performance of SimCode: time 9.32e-07/2.465, allocations: 0 / 1.098 GB, free: 69.66 MB / 0.5887 GB Notification: Performance of Templates: time 0.5062/2.971, allocations: 258.7 MB / 1.351 GB, free: 49.97 MB / 0.5887 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches