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.001041/0.001041, allocations: 103.8 kB / 16.41 MB, free: 6.48 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.0012/0.0012, allocations: 192.1 kB / 17.34 MB, free: 5.75 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.718/1.718, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.235/0.235, allocations: 43.53 MB / 314.1 MB, free: 464 kB / 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.001388/0.001388, allocations: 71.89 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1335, allocations: 57.79 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.01576/0.1493, allocations: 14.23 MB / 0.5018 GB, free: 13.5 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01381/0.1631, allocations: 4.669 MB / 0.5064 GB, free: 8.812 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003159/0.1663, allocations: 91.75 kB / 0.5065 GB, free: 8.723 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007897/0.1743, allocations: 3.773 MB / 0.5101 GB, free: 4.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007512/0.1818, allocations: 2.428 MB / 0.5125 GB, free: 2.5 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003355/0.1852, allocations: 0.9983 MB / 0.5135 GB, free: 1.5 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01054/0.1958, allocations: 6.022 MB / 0.5194 GB, free: 11.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007682/0.2035, allocations: 4.73 MB / 0.524 GB, free: 6.664 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004702/0.2082, allocations: 2.122 MB / 0.5261 GB, free: 4.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005923/0.2142, allocations: 2.889 MB / 0.5289 GB, free: 1.637 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001956/0.2162, allocations: 459.9 kB / 0.5293 GB, free: 1.188 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3161/0.5323, allocations: 1.474 MB / 0.5308 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004854/0.5372, allocations: 2.703 MB / 0.5334 GB, free: 12.4 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007783/0.545, allocations: 3.026 MB / 0.5364 GB, free: 11.42 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0184/0.5634, allocations: 9.652 MB / 0.5458 GB, free: 10.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5635, allocations: 1.062 kB / 0.5458 GB, free: 10.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5635, allocations: 3.719 kB / 0.5458 GB, free: 10.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005331/0.564, allocations: 0.5 kB / 0.5458 GB, free: 10.04 MB / 414.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.02702/0.5911, allocations: 6.548 MB / 0.5522 GB, free: 7.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.761e-05/0.5911, allocations: 13.52 kB / 0.5522 GB, free: 7.496 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/0.608, allocations: 2.66 MB / 0.5548 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01332/0.6214, allocations: 4.071 MB / 0.5588 GB, free: 6.031 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005137/0.6219, allocations: 309.8 kB / 0.5591 GB, free: 5.93 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003083/0.625, allocations: 406.7 kB / 0.5595 GB, free: 5.836 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02863/0.6537, allocations: 13.01 MB / 0.5722 GB, free: 14.45 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001923/0.6539, allocations: 63.84 kB / 0.5722 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000629/0.6545, allocations: 193.5 kB / 0.5724 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004044/0.6586, allocations: 2.507 MB / 0.5749 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02318/0.6818, allocations: 10.83 MB / 0.5854 GB, free: 4.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07608/0.7579, allocations: 49.94 MB / 0.6342 GB, free: 1.73 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01194/0.7699, allocations: 4.545 MB / 0.6386 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003642/0.7736, allocations: 2.455 MB / 0.641 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01425/0.7879, allocations: 6.737 MB / 0.6476 GB, free: 3.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.006e-05/0.788, allocations: 63.3 kB / 0.6477 GB, free: 3.707 MB / 494.1 MB Notification: Performance of pre-optimization done (n=183): time 5.58e-06/0.788, allocations: 0 / 0.6477 GB, free: 3.707 MB / 494.1 MB Notification: Performance of matching and sorting (n=195): time 0.05149/0.8395, allocations: 19.4 MB / 0.6666 GB, free: 136 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.8397, allocations: 225.9 kB / 0.6668 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/0.8498, allocations: 5.921 MB / 0.6726 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006837/0.8506, allocations: 53.7 kB / 0.6727 GB, free: 9.906 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003186/0.8538, allocations: 4.069 MB / 0.6766 GB, free: 5.844 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001337/0.8551, allocations: 0.7679 MB / 0.6774 GB, free: 5.082 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002333/0.8574, allocations: 1.538 MB / 0.6789 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.8576, allocations: 301.1 kB / 0.6792 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004236/0.8618, allocations: 2.634 MB / 0.6818 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00764/0.8695, allocations: 7.16 MB / 0.6888 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01428/0.8838, allocations: 10.52 MB / 0.699 GB, free: 11.19 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001939/0.884, allocations: 44 kB / 0.6991 GB, free: 11.15 MB / 0.545 GB Notification: Performance of matching and sorting (n=980) (initialization): time 0.02674/0.9108, allocations: 10.56 MB / 0.7094 GB, free: 0.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.9111, allocations: 76 kB / 0.7095 GB, free: 0.6758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003554/0.9115, allocations: 156.9 kB / 0.7096 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004037/0.9155, allocations: 1.239 MB / 0.7108 GB, free: 15.28 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007057/0.9226, allocations: 1.719 MB / 0.7125 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.9348, allocations: 8.489 MB / 0.7208 GB, free: 4.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008636/0.9435, allocations: 411.5 kB / 0.7212 GB, free: 4.395 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002506/0.946, allocations: 456 kB / 0.7216 GB, free: 3.949 MB / 0.5606 GB 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.009254/0.9553, allocations: 2.707 MB / 0.7243 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001863/0.9572, allocations: 485.7 kB / 0.7247 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01036/0.9676, allocations: 4.025 MB / 0.7286 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.708e-05/0.9677, allocations: 24 kB / 0.7287 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-05/0.9677, allocations: 8 kB / 0.7287 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-05/0.9678, allocations: 11.97 kB / 0.7287 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02793/0.9957, allocations: 9.545 MB / 0.738 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-05/0.9958, allocations: 7.875 kB / 0.738 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001876/0.9977, allocations: 323.5 kB / 0.7383 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003299/1.001, allocations: 1.008 MB / 0.7393 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004146/1.001, allocations: 32 kB / 0.7393 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/1.012, allocations: 7.821 MB / 0.747 GB, free: 9.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/1.012, allocations: 4 kB / 0.747 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01294/1.025, allocations: 6.882 MB / 0.7537 GB, free: 2.625 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004304/1.029, allocations: 0.8383 MB / 0.7545 GB, free: 1.762 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002587/1.032, allocations: 46.06 kB / 0.7546 GB, free: 1.719 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003393/1.035, allocations: 111.8 kB / 0.7547 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005121/1.036, allocations: 117.1 kB / 0.7548 GB, free: 1.496 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002801/1.036, allocations: 55.94 kB / 0.7548 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.3355/1.372, allocations: 3.781 MB / 0.7585 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.174e-06/1.372, allocations: 0 / 0.7585 GB, free: 204.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01039/1.382, allocations: 1.288 MB / 0.7598 GB, free: 204.5 MB / 0.5919 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.000685/1.383, allocations: 176.5 kB / 0.76 GB, free: 204.4 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01336/1.396, allocations: 6.33 MB / 0.7661 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/1.396, allocations: 1.062 kB / 0.7661 GB, free: 203.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003129/1.399, allocations: 1.908 MB / 0.768 GB, free: 203.5 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004636/1.404, allocations: 0.6315 MB / 0.7686 GB, free: 203.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02394/1.428, allocations: 12.03 MB / 0.7804 GB, free: 198.2 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004829/1.433, allocations: 4.136 MB / 0.7844 GB, free: 196.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.006207/1.439, allocations: 2.315 MB / 0.7867 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001115/1.44, allocations: 316.5 kB / 0.787 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of SimCode: time 1.223e-06/1.44, allocations: 0 / 0.787 GB, free: 196.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.08188/1.522, allocations: 44.68 MB / 0.8306 GB, free: 156.6 MB / 0.5919 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/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