Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 108.7 kB / 18.44 MB, free: 4.645 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.001161/0.001161, allocations: 183.1 kB / 19.38 MB, free: 3.723 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.295/1.295, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1965/0.1965, allocations: 44.18 MB / 337.4 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 67.89 kB / 471.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3302, allocations: 60.82 MB / 0.5196 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01561/0.3459, allocations: 15.71 MB / 0.5349 GB, free: 8.172 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01267/0.3586, allocations: 5.082 MB / 0.5399 GB, free: 4.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003967/0.3626, allocations: 108.8 kB / 0.54 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01049/0.3731, allocations: 5.035 MB / 0.5449 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009711/0.3829, allocations: 2.595 MB / 0.5474 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.3867, allocations: 1.246 MB / 0.5486 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01229/0.399, allocations: 7.94 MB / 0.5564 GB, free: 6.242 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009478/0.4085, allocations: 6.047 MB / 0.5623 GB, free: 104 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005677/0.4143, allocations: 2.578 MB / 0.5648 GB, free: 13.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005854/0.4201, allocations: 3.517 MB / 0.5683 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002159/0.4223, allocations: 0.5469 MB / 0.5688 GB, free: 9.441 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.4269, allocations: 1.572 MB / 0.5703 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005177/0.4322, allocations: 3.265 MB / 0.5735 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007227/0.4394, allocations: 3.585 MB / 0.577 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01614/0.4556, allocations: 11.19 MB / 0.588 GB, free: 5.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.4556, allocations: 4 kB / 0.588 GB, free: 5.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4556, allocations: 0 / 0.588 GB, free: 5.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.00047/0.4561, allocations: 0 / 0.588 GB, free: 5.754 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.02166/0.4778, allocations: 7.716 MB / 0.5955 GB, free: 13.95 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.877e-05/0.4779, allocations: 12.02 kB / 0.5955 GB, free: 13.94 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.016/0.4939, allocations: 3.104 MB / 0.5985 GB, free: 10.82 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01193/0.5059, allocations: 4.97 MB / 0.6034 GB, free: 5.77 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003743/0.5063, allocations: 373.9 kB / 0.6037 GB, free: 5.402 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002005/0.5083, allocations: 0.4919 MB / 0.6042 GB, free: 4.91 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03146/0.5398, allocations: 14.85 MB / 0.6187 GB, free: 5.043 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003432/0.5401, allocations: 83.2 kB / 0.6188 GB, free: 4.961 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001801/0.542, allocations: 235.8 kB / 0.619 GB, free: 4.73 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004957/0.5469, allocations: 2.731 MB / 0.6217 GB, free: 1.996 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02623/0.5732, allocations: 12.3 MB / 0.6337 GB, free: 5.676 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07458/0.6478, allocations: 57.12 MB / 0.6895 GB, free: 11.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0118/0.6597, allocations: 4.651 MB / 0.694 GB, free: 6.254 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003738/0.6635, allocations: 2.897 MB / 0.6968 GB, free: 3.34 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001696/0.6636, allocations: 48.61 kB / 0.6969 GB, free: 3.293 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.969e-05/0.6637, allocations: 55.55 kB / 0.6969 GB, free: 3.23 MB / 0.545 GB Notification: Performance of pre-optimization done (n=186): time 4.028e-06/0.6637, allocations: 4 kB / 0.697 GB, free: 3.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=204): time 0.3401/1.004, allocations: 23.32 MB / 0.7197 GB, free: 166.9 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/1.004, allocations: 253.7 kB / 0.72 GB, free: 166.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01169/1.016, allocations: 6.73 MB / 0.7265 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005482/1.016, allocations: 56.77 kB / 0.7266 GB, free: 164.4 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003069/1.019, allocations: 4.617 MB / 0.7311 GB, free: 160.8 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001061/1.02, allocations: 0.8187 MB / 0.7319 GB, free: 160.2 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002211/1.023, allocations: 1.683 MB / 0.7335 GB, free: 159.4 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.222e-05/1.023, allocations: 312.4 kB / 0.7338 GB, free: 159.1 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004032/1.027, allocations: 2.902 MB / 0.7367 GB, free: 158.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005349/1.032, allocations: 7.87 MB / 0.7444 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009671/1.042, allocations: 11.51 MB / 0.7556 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001218/1.042, allocations: 50.75 kB / 0.7556 GB, free: 140.8 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1062) (initialization): time 0.0185/1.06, allocations: 12 MB / 0.7674 GB, free: 131.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.412e-05/1.061, allocations: 83.94 kB / 0.7674 GB, free: 131.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/1.061, allocations: 172 kB / 0.7676 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003892/1.065, allocations: 1.773 MB / 0.7693 GB, free: 129.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00506/1.07, allocations: 1.856 MB / 0.7711 GB, free: 127.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01121/1.081, allocations: 12.61 MB / 0.7835 GB, free: 114.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006843/1.088, allocations: 462.3 kB / 0.7839 GB, free: 114.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001191/1.089, allocations: 496 kB / 0.7844 GB, free: 113.9 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 795 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],worldTorque2.color[3],worldTorque2.color[2],worldTorque2.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (996): * Single equations (assignments): 990 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,14,100.0%), (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.004974/1.094, allocations: 3.053 MB / 0.7874 GB, free: 110.9 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001388/1.095, allocations: 0.536 MB / 0.7879 GB, free: 110.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007645/1.103, allocations: 4.857 MB / 0.7926 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.257e-05/1.103, allocations: 27.94 kB / 0.7927 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.18e-05/1.103, allocations: 11.94 kB / 0.7927 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.101e-05/1.103, allocations: 11.95 kB / 0.7927 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01927/1.122, allocations: 11.22 MB / 0.8036 GB, free: 94.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-05/1.122, allocations: 4 kB / 0.8036 GB, free: 94.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00149/1.124, allocations: 315.5 kB / 0.8039 GB, free: 93.83 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003674/1.128, allocations: 1.504 MB / 0.8054 GB, free: 92.32 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002455/1.128, allocations: 28 kB / 0.8054 GB, free: 92.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01003/1.138, allocations: 11.71 MB / 0.8169 GB, free: 80.17 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.138, allocations: 4.062 kB / 0.8169 GB, free: 80.17 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.149, allocations: 7.958 MB / 0.8246 GB, free: 72.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002373/1.151, allocations: 0.6111 MB / 0.8252 GB, free: 71.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/1.152, allocations: 35.98 kB / 0.8253 GB, free: 71.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002191/1.154, allocations: 143.8 kB / 0.8254 GB, free: 71.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003856/1.155, allocations: 125.1 kB / 0.8255 GB, free: 71.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/1.155, allocations: 55.98 kB / 0.8256 GB, free: 71.19 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005517/1.16, allocations: 4.282 MB / 0.8298 GB, free: 66.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.51e-07/1.16, allocations: 0 / 0.8298 GB, free: 66.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008115/1.168, allocations: 1.499 MB / 0.8312 GB, free: 65.43 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.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 (153): * Single equations (assignments): 147 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,11,100.0%), (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.0006194/1.169, allocations: 172.3 kB / 0.8314 GB, free: 65.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009665/1.179, allocations: 7.128 MB / 0.8384 GB, free: 58.14 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.179, allocations: 0 / 0.8384 GB, free: 58.14 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002681/1.182, allocations: 2.293 MB / 0.8406 GB, free: 55.81 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005294/1.187, allocations: 0.7799 MB / 0.8414 GB, free: 55.04 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02068/1.208, allocations: 14.47 MB / 0.8555 GB, free: 40.53 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004478/1.212, allocations: 4.629 MB / 0.86 GB, free: 35.87 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001337/1.213, allocations: 403.4 kB / 0.8604 GB, free: 35.47 MB / 0.5606 GB Notification: Performance of SimCode: time 1.472e-06/1.213, allocations: 0 / 0.8604 GB, free: 35.47 MB / 0.5606 GB Notification: Performance of Templates: time 0.4556/1.669, allocations: 170.4 MB / 1.027 GB, free: 149.7 MB / 0.6231 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldTorques/WorldTorques.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches