Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_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_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 104 kB / 16.94 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 191.6 kB / 17.86 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.436/1.436, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2222/0.2222, allocations: 43.52 MB / 314.6 MB, free: 0.5195 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001764/0.001764, allocations: 67.27 kB / 383.4 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1107, allocations: 57.79 MB / 441.2 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01493/0.1257, allocations: 14.23 MB / 455.4 MB, free: 8.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01147/0.1372, allocations: 4.661 MB / 460.1 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003434/0.1406, allocations: 91.75 kB / 460.2 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007742/0.1484, allocations: 3.773 MB / 463.9 MB, free: 68 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007254/0.1558, allocations: 2.412 MB / 466.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00269/0.1585, allocations: 1.014 MB / 467.4 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009477/0.168, allocations: 6.018 MB / 473.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007083/0.1751, allocations: 4.749 MB / 478.1 MB, free: 1.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003961/0.1791, allocations: 2.118 MB / 480.2 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004948/0.184, allocations: 2.882 MB / 483.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001798/0.1859, allocations: 463.9 kB / 483.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.1899, allocations: 1.479 MB / 485.1 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003907/0.1938, allocations: 2.685 MB / 487.7 MB, free: 8.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005866/0.1997, allocations: 3.029 MB / 490.8 MB, free: 5.094 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01309/0.2128, allocations: 9.334 MB / 0.4884 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.644e-05/0.2129, allocations: 4 kB / 0.4884 GB, free: 11.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.2129, allocations: 0 / 0.4884 GB, free: 11.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006264/0.2136, allocations: 4 kB / 0.4884 GB, free: 11.72 MB / 382.1 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.02053/0.2341, allocations: 6.542 MB / 0.4948 GB, free: 5.102 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/0.2342, allocations: 11.89 kB / 0.4948 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.248, allocations: 2.664 MB / 0.4974 GB, free: 2.414 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0105/0.2586, allocations: 4 MB / 0.5013 GB, free: 14.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003333/0.259, allocations: 308.2 kB / 0.5016 GB, free: 14.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00189/0.2609, allocations: 415.6 kB / 0.502 GB, free: 13.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02727/0.2882, allocations: 13.01 MB / 0.5147 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/0.2885, allocations: 59.47 kB / 0.5148 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001716/0.2902, allocations: 191.8 kB / 0.5149 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00479/0.295, allocations: 2.507 MB / 0.5174 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0239/0.319, allocations: 10.84 MB / 0.528 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3228/0.6418, allocations: 50.16 MB / 0.577 GB, free: 45.46 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0107/0.6526, allocations: 4.55 MB / 0.5814 GB, free: 42.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003278/0.6559, allocations: 2.454 MB / 0.5838 GB, free: 41.56 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.6673, allocations: 6.737 MB / 0.5904 GB, free: 35.96 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.027e-05/0.6674, allocations: 55.59 kB / 0.5904 GB, free: 35.9 MB / 414.1 MB Notification: Performance of pre-optimization done (n=183): time 5.861e-06/0.6674, allocations: 0 / 0.5904 GB, free: 35.9 MB / 414.1 MB Notification: Performance of matching and sorting (n=195): time 0.04604/0.7134, allocations: 19.41 MB / 0.6094 GB, free: 16.27 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.792e-05/0.7135, allocations: 231.2 kB / 0.6096 GB, free: 16 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00794/0.7215, allocations: 5.909 MB / 0.6154 GB, free: 10.11 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000609/0.7221, allocations: 57.14 kB / 0.6154 GB, free: 10.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002303/0.7244, allocations: 4.066 MB / 0.6194 GB, free: 5.988 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001069/0.7255, allocations: 0.7714 MB / 0.6201 GB, free: 5.223 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001991/0.7275, allocations: 1.529 MB / 0.6216 GB, free: 3.688 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 7.619e-05/0.7276, allocations: 305.1 kB / 0.6219 GB, free: 3.387 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.731, allocations: 2.634 MB / 0.6245 GB, free: 0.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007963/0.739, allocations: 7.163 MB / 0.6315 GB, free: 7.355 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01385/0.7529, allocations: 10.53 MB / 0.6418 GB, free: 10.59 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001451/0.7531, allocations: 44 kB / 0.6418 GB, free: 10.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02317/0.7762, allocations: 10.56 MB / 0.6521 GB, free: 15.98 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001744/0.7765, allocations: 76 kB / 0.6522 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000295/0.7768, allocations: 156 kB / 0.6524 GB, free: 15.75 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00363/0.7804, allocations: 1.243 MB / 0.6536 GB, free: 14.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00641/0.7868, allocations: 1.723 MB / 0.6553 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01386/0.8007, allocations: 8.503 MB / 0.6636 GB, free: 3.996 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006634/0.8074, allocations: 409.7 kB / 0.664 GB, free: 3.598 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001617/0.8091, allocations: 452 kB / 0.6644 GB, free: 3.156 MB / 462.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,14,100.0%), (1,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006578/0.8157, allocations: 2.702 MB / 0.667 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001471/0.8172, allocations: 485.8 kB / 0.6675 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009422/0.8266, allocations: 4.041 MB / 0.6714 GB, free: 11.89 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.323e-05/0.8267, allocations: 24 kB / 0.6715 GB, free: 11.87 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.698e-05/0.8268, allocations: 11.92 kB / 0.6715 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-05/0.8268, allocations: 11.97 kB / 0.6715 GB, free: 11.85 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02433/0.8511, allocations: 9.556 MB / 0.6808 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-05/0.8512, allocations: 4 kB / 0.6808 GB, free: 2.223 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001881/0.8531, allocations: 323.5 kB / 0.6811 GB, free: 1.906 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003335/0.8565, allocations: 1.002 MB / 0.6821 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004254/0.8569, allocations: 35.98 kB / 0.6821 GB, free: 0.8633 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.8678, allocations: 7.824 MB / 0.6898 GB, free: 8.766 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-05/0.8679, allocations: 7.984 kB / 0.6898 GB, free: 8.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01301/0.8809, allocations: 6.888 MB / 0.6965 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002658/0.8836, allocations: 0.8345 MB / 0.6973 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001516/0.8851, allocations: 35.98 kB / 0.6974 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002922/0.8881, allocations: 119.8 kB / 0.6975 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000524/0.8886, allocations: 109.1 kB / 0.6976 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002784/0.8889, allocations: 59.92 kB / 0.6976 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.008075/0.897, allocations: 3.782 MB / 0.7013 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.31e-07/0.897, allocations: 3.938 kB / 0.7013 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.008101/0.9051, allocations: 1.299 MB / 0.7026 GB, free: 11.57 MB / 0.4981 GB 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007833/0.906, allocations: 165.6 kB / 0.7028 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01325/0.9193, allocations: 6.945 MB / 0.7095 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/0.9194, allocations: 4 kB / 0.7095 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003396/0.9228, allocations: 1.911 MB / 0.7114 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006086/0.9289, allocations: 0.6313 MB / 0.712 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/0.9553, allocations: 12.7 MB / 0.7244 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006805/0.9622, allocations: 4.108 MB / 0.7284 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001442/0.9636, allocations: 375.4 kB / 0.7288 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of SimCode: time 9.42e-07/0.9637, allocations: 0 / 0.7288 GB, free: 0.6484 MB / 0.5137 GB Notification: Performance of Templates: time 0.3416/1.305, allocations: 124.4 MB / 0.8503 GB, free: 73.21 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches