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.001544/0.001544, allocations: 113.8 kB / 17.08 MB, free: 5.945 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.001772/0.001772, allocations: 194.5 kB / 18.01 MB, free: 5.031 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.516/1.516, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.2013/0.2013, allocations: 43.52 MB / 314.8 MB, free: 468 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.001603/0.001603, allocations: 73.45 kB / 442.5 MB, free: 5.609 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1163, allocations: 57.78 MB / 0.4886 GB, free: 11.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01891/0.1353, allocations: 17.11 MB / 0.5053 GB, free: 10.57 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0117/0.147, allocations: 5.117 MB / 0.5103 GB, free: 5.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003572/0.1507, allocations: 115.7 kB / 0.5104 GB, free: 5.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009806/0.1605, allocations: 5.058 MB / 0.5153 GB, free: 252 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008419/0.169, allocations: 2.711 MB / 0.518 GB, free: 13.52 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003429/0.1725, allocations: 1.076 MB / 0.519 GB, free: 12.45 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01137/0.1839, allocations: 6.84 MB / 0.5257 GB, free: 5.59 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2688/0.4527, allocations: 5.932 MB / 0.5315 GB, free: 7.484 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005889/0.4586, allocations: 2.557 MB / 0.534 GB, free: 7.371 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007501/0.4662, allocations: 3.479 MB / 0.5374 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003169/0.4694, allocations: 0.5466 MB / 0.5379 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007098/0.4765, allocations: 1.43 MB / 0.5393 GB, free: 7.004 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006251/0.4828, allocations: 3.252 MB / 0.5425 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009659/0.4924, allocations: 3.659 MB / 0.5461 GB, free: 5.402 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01858/0.5111, allocations: 11.38 MB / 0.5572 GB, free: 3.164 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.562e-06/0.5111, allocations: 0.6562 kB / 0.5572 GB, free: 3.164 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5111, allocations: 0 / 0.5572 GB, free: 3.164 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005345/0.5117, allocations: 2.312 kB / 0.5572 GB, free: 3.164 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: 2391 * Number of variables: 2391 Notification: Performance of Generate backend data structure: time 0.02695/0.5386, allocations: 7.917 MB / 0.5649 GB, free: 14.5 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.5387, allocations: 11.67 kB / 0.5649 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/0.554, allocations: 2.829 MB / 0.5677 GB, free: 13.05 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01283/0.5669, allocations: 4.594 MB / 0.5722 GB, free: 10.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/0.5674, allocations: 384.3 kB / 0.5726 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002737/0.5701, allocations: 0.5046 MB / 0.573 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03647/0.6066, allocations: 15.65 MB / 0.5883 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003534/0.607, allocations: 63.56 kB / 0.5884 GB, free: 13.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/0.6094, allocations: 239.5 kB / 0.5886 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006777/0.6162, allocations: 3.067 MB / 0.5916 GB, free: 10.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03372/0.65, allocations: 13.25 MB / 0.6045 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09644/0.7465, allocations: 61.32 MB / 0.6644 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01744/0.7639, allocations: 6.659 MB / 0.6709 GB, free: 8.465 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005935/0.7699, allocations: 4.042 MB / 0.6749 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01943/0.7894, allocations: 9.464 MB / 0.6841 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.706e-05/0.7895, allocations: 64.22 kB / 0.6842 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=269): time 6.061e-06/0.7895, allocations: 4 kB / 0.6842 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=311): time 0.09786/0.8874, allocations: 32.57 MB / 0.716 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001411/0.8876, allocations: 235.9 kB / 0.7162 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0137/0.9013, allocations: 6.994 MB / 0.7231 GB, free: 2.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0009899/0.9023, allocations: 69.7 kB / 0.7231 GB, free: 2.719 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00439/0.9067, allocations: 4.769 MB / 0.7278 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001956/0.9087, allocations: 1.177 MB / 0.7289 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003668/0.9124, allocations: 1.914 MB / 0.7308 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.9125, allocations: 305.1 kB / 0.7311 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006425/0.9189, allocations: 3.926 MB / 0.7349 GB, free: 6.633 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01136/0.9303, allocations: 9.248 MB / 0.7439 GB, free: 10.86 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2794/1.21, allocations: 14.13 MB / 0.7577 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000217/1.21, allocations: 53.34 kB / 0.7578 GB, free: 192.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.0348/1.245, allocations: 14.98 MB / 0.7724 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/1.245, allocations: 88.7 kB / 0.7725 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002979/1.245, allocations: 189 kB / 0.7727 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007005/1.252, allocations: 2.299 MB / 0.7749 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007922/1.26, allocations: 2.166 MB / 0.777 GB, free: 189.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01617/1.276, allocations: 14.4 MB / 0.7911 GB, free: 182.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00888/1.285, allocations: 0.5427 MB / 0.7916 GB, free: 182.3 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002107/1.288, allocations: 0.5519 MB / 0.7922 GB, free: 182.2 MB / 0.5919 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.007655/1.295, allocations: 3.226 MB / 0.7953 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001404/1.297, allocations: 0.583 MB / 0.7959 GB, free: 180.8 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/1.31, allocations: 7.719 MB / 0.8034 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.473e-05/1.31, allocations: 32 kB / 0.8035 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.603e-05/1.31, allocations: 8 kB / 0.8035 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.343e-05/1.31, allocations: 15.2 kB / 0.8035 GB, free: 176.7 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03033/1.34, allocations: 16.05 MB / 0.8192 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/1.34, allocations: 5.203 kB / 0.8192 GB, free: 162.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/1.343, allocations: 0.5226 MB / 0.8197 GB, free: 162 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004853/1.348, allocations: 2.039 MB / 0.8217 GB, free: 160 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005601/1.348, allocations: 60 kB / 0.8217 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0144/1.363, allocations: 13.69 MB / 0.8351 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/1.363, allocations: 11.94 kB / 0.8351 GB, free: 146.1 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01673/1.38, allocations: 12.26 MB / 0.8471 GB, free: 133.8 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003458/1.383, allocations: 1.181 MB / 0.8482 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001969/1.385, allocations: 60.86 kB / 0.8483 GB, free: 132.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004021/1.389, allocations: 223.6 kB / 0.8485 GB, free: 132.3 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009605/1.39, allocations: 194.9 kB / 0.8487 GB, free: 132.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003689/1.391, allocations: 78.53 kB / 0.8488 GB, free: 132 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.009642/1.4, allocations: 4.475 MB / 0.8531 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/1.4, allocations: 0 / 0.8531 GB, free: 127.6 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01025/1.41, allocations: 1.735 MB / 0.8548 GB, free: 125.8 MB / 0.5919 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.0009647/1.411, allocations: 202.6 kB / 0.855 GB, free: 125.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01368/1.425, allocations: 9.477 MB / 0.8643 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/1.425, allocations: 0.625 kB / 0.8643 GB, free: 116.2 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00562/1.431, allocations: 3.734 MB / 0.8679 GB, free: 112.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006326/1.437, allocations: 0.7474 MB / 0.8687 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/1.466, allocations: 16.72 MB / 0.885 GB, free: 94.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006109/1.473, allocations: 4.87 MB / 0.8897 GB, free: 89.99 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002177/1.475, allocations: 479.3 kB / 0.8902 GB, free: 89.52 MB / 0.5919 GB Notification: Performance of SimCode: time 1.062e-06/1.475, allocations: 4 kB / 0.8902 GB, free: 89.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.4376/1.912, allocations: 156.4 MB / 1.043 GB, free: 148.9 MB / 0.5919 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Torque/Torque.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Torque.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches