Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001451/0.001451, allocations: 109.7 kB / 18.44 MB, free: 4.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001875/0.001875, allocations: 212.9 kB / 19.39 MB, free: 3.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.334/1.334, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1968/0.1968, allocations: 46.1 MB / 344.9 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 75.88 kB / 482 MB, free: 4.043 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3573/0.3586, allocations: 62.45 MB / 0.5317 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldTorques): time 0.01588/0.3745, allocations: 15.4 MB / 0.5467 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01153/0.3861, allocations: 5.066 MB / 0.5516 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003751/0.3899, allocations: 103.7 kB / 0.5517 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008953/0.3989, allocations: 4.984 MB / 0.5566 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007242/0.4062, allocations: 2.521 MB / 0.5591 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002955/0.4092, allocations: 1.228 MB / 0.5603 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01061/0.4198, allocations: 7.967 MB / 0.5681 GB, free: 12.33 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006849/0.4267, allocations: 5.981 MB / 0.5739 GB, free: 6.262 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00465/0.4314, allocations: 2.527 MB / 0.5764 GB, free: 3.727 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005432/0.4369, allocations: 3.45 MB / 0.5797 GB, free: 272 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001775/0.4387, allocations: 0.5352 MB / 0.5803 GB, free: 15.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003492/0.4422, allocations: 1.553 MB / 0.5818 GB, free: 14.18 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003356/0.4455, allocations: 3.156 MB / 0.5849 GB, free: 11.01 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005327/0.4509, allocations: 3.473 MB / 0.5882 GB, free: 7.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01447/0.4654, allocations: 10.82 MB / 0.5988 GB, free: 12.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4654, allocations: 0 / 0.5988 GB, free: 12.66 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4654, allocations: 0 / 0.5988 GB, free: 12.66 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003705/0.4658, allocations: 0 / 0.5988 GB, free: 12.66 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2128 * Number of variables: 2128 Notification: Performance of Generate backend data structure: time 0.01944/0.4852, allocations: 7.529 MB / 0.6062 GB, free: 5.043 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.255e-05/0.4853, allocations: 8.031 kB / 0.6062 GB, free: 5.035 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01457/0.4999, allocations: 3.069 MB / 0.6092 GB, free: 1.953 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01263/0.5126, allocations: 4.837 MB / 0.6139 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003572/0.513, allocations: 365.7 kB / 0.6142 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00199/0.515, allocations: 491.8 kB / 0.6147 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02828/0.5432, allocations: 14.28 MB / 0.6287 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002577/0.5435, allocations: 75.31 kB / 0.6287 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001012/0.5446, allocations: 227.8 kB / 0.6289 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00424/0.5488, allocations: 2.535 MB / 0.6314 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02431/0.5731, allocations: 11.85 MB / 0.643 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07395/0.6471, allocations: 55.88 MB / 0.6976 GB, free: 4.848 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01203/0.6592, allocations: 4.654 MB / 0.7021 GB, free: 36 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004204/0.6635, allocations: 2.893 MB / 0.7049 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.6637, allocations: 37.64 kB / 0.705 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.719e-05/0.6637, allocations: 59.42 kB / 0.705 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=186): time 5.099e-06/0.6638, allocations: 4 kB / 0.705 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=204): time 0.3892/1.053, allocations: 23.11 MB / 0.7276 GB, free: 158.6 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.22e-05/1.053, allocations: 261.3 kB / 0.7278 GB, free: 158.4 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01016/1.063, allocations: 6.672 MB / 0.7344 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0005071/1.064, allocations: 57.08 kB / 0.7344 GB, free: 156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002653/1.066, allocations: 4.483 MB / 0.7388 GB, free: 152.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001015/1.067, allocations: 0.8209 MB / 0.7396 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001946/1.069, allocations: 1.667 MB / 0.7412 GB, free: 151.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.55e-05/1.069, allocations: 309 kB / 0.7415 GB, free: 150.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/1.073, allocations: 2.889 MB / 0.7443 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/1.078, allocations: 7.802 MB / 0.752 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009581/1.087, allocations: 11.42 MB / 0.7631 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001398/1.088, allocations: 52 kB / 0.7632 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.01995/1.108, allocations: 11.92 MB / 0.7748 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.341e-05/1.108, allocations: 80 kB / 0.7749 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000169/1.108, allocations: 172.6 kB / 0.775 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004003/1.112, allocations: 1.773 MB / 0.7768 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005377/1.117, allocations: 1.836 MB / 0.7786 GB, free: 113.6 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/1.129, allocations: 12.61 MB / 0.7909 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007503/1.137, allocations: 459.4 kB / 0.7913 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001368/1.138, allocations: 487.6 kB / 0.7918 GB, free: 99.63 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 786 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque2.arrow.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque1.arrow.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 (987): * Single equations (assignments): 981 * 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.005104/1.143, allocations: 2.969 MB / 0.7947 GB, free: 96.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001557/1.145, allocations: 0.5361 MB / 0.7952 GB, free: 96.11 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007715/1.152, allocations: 4.86 MB / 0.7999 GB, free: 91.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.541e-05/1.152, allocations: 27.98 kB / 0.8 GB, free: 91.19 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.096e-05/1.152, allocations: 11.94 kB / 0.8 GB, free: 91.18 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.849e-05/1.152, allocations: 7.969 kB / 0.8 GB, free: 91.18 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01923/1.172, allocations: 11.08 MB / 0.8108 GB, free: 80.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/1.172, allocations: 0 / 0.8108 GB, free: 80.06 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.173, allocations: 319.5 kB / 0.8111 GB, free: 79.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0036/1.177, allocations: 1.499 MB / 0.8126 GB, free: 78.24 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002351/1.177, allocations: 31.98 kB / 0.8126 GB, free: 78.21 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/1.188, allocations: 11.69 MB / 0.824 GB, free: 66.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/1.188, allocations: 0 / 0.824 GB, free: 66.1 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/1.198, allocations: 7.96 MB / 0.8318 GB, free: 58.1 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/1.201, allocations: 0.6073 MB / 0.8324 GB, free: 57.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001028/1.202, allocations: 36 kB / 0.8324 GB, free: 57.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002169/1.204, allocations: 143.7 kB / 0.8326 GB, free: 57.29 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/1.204, allocations: 125.2 kB / 0.8327 GB, free: 57.17 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.204, allocations: 56.27 kB / 0.8327 GB, free: 57.12 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005662/1.21, allocations: 4.253 MB / 0.8369 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.61e-07/1.21, allocations: 0 / 0.8369 GB, free: 52.88 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.008995/1.219, allocations: 1.449 MB / 0.8383 GB, free: 51.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.0005412/1.22, allocations: 173.3 kB / 0.8385 GB, free: 51.26 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009177/1.229, allocations: 7.11 MB / 0.8454 GB, free: 44.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/1.229, allocations: 4 kB / 0.8454 GB, free: 44.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/1.231, allocations: 2.284 MB / 0.8476 GB, free: 41.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00473/1.236, allocations: 0.766 MB / 0.8484 GB, free: 41.09 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02114/1.257, allocations: 14.11 MB / 0.8622 GB, free: 26.95 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004466/1.262, allocations: 4.492 MB / 0.8666 GB, free: 22.42 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001435/1.263, allocations: 407.4 kB / 0.8669 GB, free: 22.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.062e-06/1.263, allocations: 0 / 0.8669 GB, free: 22.02 MB / 0.5606 GB Notification: Performance of Templates: time 0.6337/1.897, allocations: 166.7 MB / 1.03 GB, free: 143.8 MB / 0.6231 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.MultiBody.Forces.WorldTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches