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.001249/0.001249, allocations: 106.4 kB / 17.03 MB, free: 5.66 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.001422/0.001422, allocations: 192.1 kB / 17.96 MB, free: 5.066 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.61/1.61, allocations: 205.1 MB / 223.8 MB, free: 12.23 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.2267/0.2267, allocations: 43.52 MB / 314.7 MB, free: 480 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.001649/0.001649, allocations: 66.64 kB / 384.2 MB, free: 56.37 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.114, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Torque): time 0.01638/0.1304, allocations: 17.09 MB / 459.1 MB, free: 4.969 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01177/0.1422, allocations: 5.11 MB / 464.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003652/0.1459, allocations: 111.7 kB / 464.3 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009409/0.1554, allocations: 5.066 MB / 469.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00779/0.1632, allocations: 2.703 MB / 472 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002717/0.166, allocations: 1.084 MB / 473.1 MB, free: 6.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01086/0.1768, allocations: 6.843 MB / 480 MB, free: 15.99 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007754/0.1846, allocations: 5.935 MB / 485.9 MB, free: 9.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004758/0.1894, allocations: 2.554 MB / 488.5 MB, free: 7.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00575/0.1952, allocations: 3.477 MB / 491.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001729/0.1969, allocations: 0.5469 MB / 492.5 MB, free: 3.383 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/0.2002, allocations: 1.428 MB / 493.9 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003729/0.204, allocations: 3.242 MB / 497.2 MB, free: 14.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006859/0.2108, allocations: 3.659 MB / 0.4891 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01709/0.228, allocations: 11.37 MB / 0.5002 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.228, allocations: 0 / 0.5002 GB, free: 15.61 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.228, allocations: 0 / 0.5002 GB, free: 15.61 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005606/0.2286, allocations: 0 / 0.5002 GB, free: 15.61 MB / 398.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.02016/0.2488, allocations: 7.919 MB / 0.5079 GB, free: 7.605 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.2488, allocations: 11.89 kB / 0.5079 GB, free: 7.594 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.2622, allocations: 2.83 MB / 0.5107 GB, free: 4.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01336/0.2756, allocations: 4.597 MB / 0.5152 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006221/0.2763, allocations: 386.3 kB / 0.5155 GB, free: 15.69 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003219/0.2795, allocations: 0.5034 MB / 0.516 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2519/0.5314, allocations: 15.63 MB / 0.5313 GB, free: 76.98 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002143/0.5317, allocations: 70.44 kB / 0.5314 GB, free: 76.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006785/0.5324, allocations: 250.7 kB / 0.5316 GB, free: 76.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005394/0.5378, allocations: 3.052 MB / 0.5346 GB, free: 76.9 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03017/0.568, allocations: 13.25 MB / 0.5475 GB, free: 73.44 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07306/0.6411, allocations: 61.31 MB / 0.6074 GB, free: 16.56 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01389/0.655, allocations: 6.655 MB / 0.6139 GB, free: 9.742 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004378/0.6595, allocations: 4.023 MB / 0.6178 GB, free: 5.703 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01686/0.6763, allocations: 9.482 MB / 0.6271 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.424e-05/0.6764, allocations: 60.56 kB / 0.6271 GB, free: 12.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=269): time 5.911e-06/0.6765, allocations: 0 / 0.6271 GB, free: 12.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=311): time 0.08332/0.7598, allocations: 32.57 MB / 0.659 GB, free: 11.25 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001445/0.76, allocations: 247.9 kB / 0.6592 GB, free: 10.96 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/0.7706, allocations: 6.984 MB / 0.666 GB, free: 3.988 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009175/0.7715, allocations: 72.33 kB / 0.6661 GB, free: 3.914 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003786/0.7753, allocations: 4.78 MB / 0.6707 GB, free: 15.07 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002177/0.7775, allocations: 1.18 MB / 0.6719 GB, free: 13.88 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003356/0.7809, allocations: 1.919 MB / 0.6738 GB, free: 11.94 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.781, allocations: 305.1 kB / 0.6741 GB, free: 11.64 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006945/0.788, allocations: 3.918 MB / 0.6779 GB, free: 7.715 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01231/0.8003, allocations: 9.248 MB / 0.6869 GB, free: 11.85 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01868/0.819, allocations: 14.12 MB / 0.7007 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001573/0.8192, allocations: 55.94 kB / 0.7008 GB, free: 11.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1222) (initialization): time 0.03011/0.8493, allocations: 14.98 MB / 0.7154 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.000127/0.8495, allocations: 84 kB / 0.7155 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002452/0.8498, allocations: 184.5 kB / 0.7156 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006221/0.856, allocations: 2.297 MB / 0.7179 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007808/0.8639, allocations: 2.172 MB / 0.72 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2436/1.107, allocations: 14.4 MB / 0.7341 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008979/1.116, allocations: 0.5419 MB / 0.7346 GB, free: 164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002232/1.119, allocations: 0.5514 MB / 0.7351 GB, free: 164 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.007587/1.126, allocations: 3.23 MB / 0.7383 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001456/1.128, allocations: 0.5864 MB / 0.7389 GB, free: 163.5 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01442/1.142, allocations: 7.712 MB / 0.7464 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.402e-05/1.142, allocations: 31.44 kB / 0.7464 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.773e-05/1.142, allocations: 11.72 kB / 0.7464 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.603e-05/1.142, allocations: 16.42 kB / 0.7464 GB, free: 160.9 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02982/1.172, allocations: 16.23 MB / 0.7623 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.687e-05/1.172, allocations: 6 kB / 0.7623 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00253/1.175, allocations: 0.5176 MB / 0.7628 GB, free: 155.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004926/1.18, allocations: 2.035 MB / 0.7648 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005996/1.18, allocations: 61.86 kB / 0.7649 GB, free: 154.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01472/1.195, allocations: 13.6 MB / 0.7781 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/1.195, allocations: 6.906 kB / 0.7781 GB, free: 146.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01672/1.212, allocations: 12.25 MB / 0.7901 GB, free: 134.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003723/1.216, allocations: 1.182 MB / 0.7913 GB, free: 133.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001375/1.217, allocations: 60 kB / 0.7913 GB, free: 133.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002893/1.22, allocations: 219.7 kB / 0.7915 GB, free: 133.1 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005551/1.221, allocations: 190.7 kB / 0.7917 GB, free: 132.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002304/1.221, allocations: 83.5 kB / 0.7918 GB, free: 132.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006167/1.227, allocations: 4.479 MB / 0.7962 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.8e-07/1.227, allocations: 0 / 0.7962 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.007993/1.235, allocations: 1.726 MB / 0.7978 GB, free: 126.7 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.0007497/1.236, allocations: 200.9 kB / 0.798 GB, free: 126.5 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01289/1.249, allocations: 9.482 MB / 0.8073 GB, free: 117.1 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.586e-06/1.249, allocations: 0 / 0.8073 GB, free: 117.1 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005317/1.254, allocations: 3.718 MB / 0.8109 GB, free: 113.4 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0048/1.259, allocations: 0.7584 MB / 0.8117 GB, free: 112.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02657/1.285, allocations: 16.07 MB / 0.8274 GB, free: 96.57 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0056/1.291, allocations: 4.893 MB / 0.8321 GB, free: 91.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00654/1.298, allocations: 2.969 MB / 0.835 GB, free: 88.68 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001681/1.299, allocations: 411.3 kB / 0.8354 GB, free: 88.28 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/1.299, allocations: 1.641 kB / 0.8354 GB, free: 88.28 MB / 0.5137 GB Notification: Performance of Templates: time 0.1033/1.403, allocations: 62.88 MB / 0.8968 GB, free: 25.66 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 -s cvode -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