Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.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.Torque,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_ModelicaTest.MultiBody.Forces.Torque") translateModel(ModelicaTest.MultiBody.Forces.Torque,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_ModelicaTest.MultiBody.Forces.Torque") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008312/0.0008311, allocations: 103.1 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009487/0.0009485, allocations: 184.6 kB / 16.92 MB, free: 6.918 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.822/1.822, allocations: 205.4 MB / 223.1 MB, free: 5.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.37/0.37, allocations: 43.57 MB / 315 MB, free: 9.023 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.0005518/0.0005519, allocations: 15.98 kB / 384.6 MB, free: 7.875 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1408, allocations: 58.87 MB / 443.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.2938/0.4347, allocations: 88.41 MB / 0.5194 GB, free: 7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.05286/0.4876, allocations: 17.18 MB / 0.5362 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02144/0.5091, allocations: 389.2 kB / 0.5365 GB, free: 11.45 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003053/0.5122, allocations: 0.6401 MB / 0.5372 GB, free: 11.19 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009725/0.5219, allocations: 2.562 MB / 0.5397 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00343/0.5254, allocations: 0.8798 MB / 0.5405 GB, free: 9.609 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01825/0.5436, allocations: 10.06 MB / 0.5504 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01432/0.558, allocations: 8.239 MB / 0.5584 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005028/0.5631, allocations: 1.871 MB / 0.5602 GB, free: 8.195 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007122/0.5702, allocations: 3.223 MB / 0.5634 GB, free: 4.961 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00162/0.5719, allocations: 236 kB / 0.5636 GB, free: 4.73 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004295/0.5762, allocations: 1.19 MB / 0.5648 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004832/0.5811, allocations: 2.879 MB / 0.5676 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006759/0.5879, allocations: 3.238 MB / 0.5707 GB, free: 13.39 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01851/0.6064, allocations: 10.56 MB / 0.581 GB, free: 2.793 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/0.6065, allocations: 0 / 0.581 GB, free: 2.793 MB / 446.1 MB Notification: Performance of FrontEnd: time 5.09e-06/0.6065, allocations: 0 / 0.581 GB, free: 2.793 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000563/0.607, allocations: 4 kB / 0.581 GB, free: 2.789 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.01868/0.6257, allocations: 6.488 MB / 0.5874 GB, free: 12.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.362e-05/0.6258, allocations: 16.03 kB / 0.5874 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01416/0.64, allocations: 2.905 MB / 0.5902 GB, free: 9.285 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01132/0.6514, allocations: 4.507 MB / 0.5946 GB, free: 4.695 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003662/0.6518, allocations: 386.4 kB / 0.595 GB, free: 4.316 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/0.6538, allocations: 0.4996 MB / 0.5955 GB, free: 3.816 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0305/0.6843, allocations: 15.66 MB / 0.6108 GB, free: 3.125 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000227/0.6846, allocations: 71.39 kB / 0.6108 GB, free: 3.055 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009054/0.6855, allocations: 243.8 kB / 0.6111 GB, free: 2.816 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005566/0.6911, allocations: 3.067 MB / 0.6141 GB, free: 15.74 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0333/0.7244, allocations: 13.25 MB / 0.627 GB, free: 2.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.332/1.056, allocations: 61.64 MB / 0.6872 GB, free: 96.76 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01714/1.074, allocations: 6.662 MB / 0.6937 GB, free: 94.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005671/1.079, allocations: 4.03 MB / 0.6977 GB, free: 92.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01586/1.095, allocations: 9.478 MB / 0.7069 GB, free: 88.29 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.86e-05/1.095, allocations: 66.94 kB / 0.707 GB, free: 88.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=269): time 5.671e-06/1.095, allocations: 0 / 0.707 GB, free: 88.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=311): time 0.07486/1.17, allocations: 32.54 MB / 0.7388 GB, free: 62.63 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.253e-05/1.17, allocations: 243.9 kB / 0.739 GB, free: 62.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009192/1.18, allocations: 6.987 MB / 0.7458 GB, free: 55.37 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008819/1.18, allocations: 76.91 kB / 0.7459 GB, free: 55.29 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00275/1.183, allocations: 4.761 MB / 0.7505 GB, free: 50.54 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/1.185, allocations: 1.189 MB / 0.7517 GB, free: 49.36 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/1.186, allocations: 0.8007 MB / 0.7525 GB, free: 48.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.316e-05/1.186, allocations: 305.1 kB / 0.7528 GB, free: 48.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004747/1.19, allocations: 3.922 MB / 0.7566 GB, free: 44.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006281/1.197, allocations: 9.248 MB / 0.7656 GB, free: 32.45 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/1.209, allocations: 14.12 MB / 0.7794 GB, free: 15.72 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/1.209, allocations: 59.28 kB / 0.7795 GB, free: 15.67 MB / 494.1 MB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.02423/1.233, allocations: 14.98 MB / 0.7941 GB, free: 0.668 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001236/1.233, allocations: 84 kB / 0.7942 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002074/1.234, allocations: 189.3 kB / 0.7944 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006162/1.24, allocations: 2.304 MB / 0.7966 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007905/1.248, allocations: 2.172 MB / 0.7987 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/1.267, allocations: 13.47 MB / 0.8119 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008313/1.275, allocations: 0.5532 MB / 0.8124 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002463/1.278, allocations: 0.5409 MB / 0.813 GB, free: 13.09 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1140): * Single equations (assignments): 1133 * 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 {(2,23,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007502/1.285, allocations: 3.237 MB / 0.8161 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001937/1.287, allocations: 0.5862 MB / 0.8167 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01529/1.303, allocations: 7.707 MB / 0.8242 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.541e-05/1.303, allocations: 34.81 kB / 0.8242 GB, free: 1.477 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.882e-05/1.303, allocations: 8 kB / 0.8243 GB, free: 1.469 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.066e-05/1.303, allocations: 23.88 kB / 0.8243 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2624/1.565, allocations: 16.25 MB / 0.8402 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-05/1.565, allocations: 6.719 kB / 0.8402 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002758/1.568, allocations: 0.5177 MB / 0.8407 GB, free: 154.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005032/1.573, allocations: 2.033 MB / 0.8426 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005418/1.574, allocations: 58.75 kB / 0.8427 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01588/1.59, allocations: 12.67 MB / 0.8551 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.792e-06/1.59, allocations: 4.938 kB / 0.8551 GB, free: 148.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02385/1.613, allocations: 12.24 MB / 0.867 GB, free: 143.6 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003863/1.617, allocations: 1.205 MB / 0.8682 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001605/1.619, allocations: 53.25 kB / 0.8683 GB, free: 143.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003752/1.623, allocations: 227.5 kB / 0.8685 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007668/1.624, allocations: 194 kB / 0.8687 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002515/1.624, allocations: 86.48 kB / 0.8688 GB, free: 143.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.009362/1.633, allocations: 4.475 MB / 0.8731 GB, free: 141.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.4e-07/1.633, allocations: 3.906 kB / 0.8731 GB, free: 141.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.008867/1.642, allocations: 1.729 MB / 0.8748 GB, free: 141.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (254): * Single equations (assignments): 249 * 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 {(4,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006133/1.643, allocations: 194.9 kB / 0.875 GB, free: 141.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01322/1.656, allocations: 9.444 MB / 0.8842 GB, free: 138 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/1.656, allocations: 0 / 0.8842 GB, free: 138 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005421/1.661, allocations: 3.716 MB / 0.8879 GB, free: 135.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008462/1.67, allocations: 0.722 MB / 0.8886 GB, free: 134.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/1.695, allocations: 19.46 MB / 0.9076 GB, free: 116.5 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005419/1.701, allocations: 4.897 MB / 0.9123 GB, free: 111.6 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00721/1.708, allocations: 2.967 MB / 0.9152 GB, free: 108.6 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00228/1.71, allocations: 413.3 kB / 0.9156 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of SimCode: time 2.745e-06/1.71, allocations: 0 / 0.9156 GB, free: 108.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1087/1.819, allocations: 67.45 MB / 0.9815 GB, free: 40.85 MB / 0.5137 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches