Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.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.WorldForces2,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.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,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.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001106/0.001107, allocations: 121.5 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001082/0.001082, allocations: 203.9 kB / 18.73 MB, free: 4.301 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.341/1.341, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2074/0.2074, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 75.86 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.4174, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01668/0.4342, allocations: 15.41 MB / 0.5461 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01329/0.4475, allocations: 5.069 MB / 0.551 GB, free: 13.18 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005188/0.4527, allocations: 107.7 kB / 0.5511 GB, free: 13.08 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01085/0.4637, allocations: 4.992 MB / 0.556 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008375/0.4721, allocations: 2.504 MB / 0.5584 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.4758, allocations: 1.244 MB / 0.5596 GB, free: 4.312 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.4882, allocations: 7.924 MB / 0.5674 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009205/0.4974, allocations: 5.953 MB / 0.5732 GB, free: 6.328 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004628/0.5021, allocations: 2.492 MB / 0.5756 GB, free: 3.828 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005549/0.5077, allocations: 3.439 MB / 0.579 GB, free: 388 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002227/0.5099, allocations: 0.5313 MB / 0.5795 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004459/0.5144, allocations: 1.541 MB / 0.581 GB, free: 14.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005353/0.5198, allocations: 3.129 MB / 0.5841 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008097/0.5279, allocations: 3.461 MB / 0.5874 GB, free: 7.688 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01638/0.5444, allocations: 10.83 MB / 0.598 GB, free: 12.82 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.887e-06/0.5444, allocations: 0 / 0.598 GB, free: 12.82 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.817e-06/0.5444, allocations: 3.938 kB / 0.598 GB, free: 12.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0004789/0.5449, allocations: 7.938 kB / 0.598 GB, free: 12.8 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: 2127 * Number of variables: 2127 Notification: Performance of Generate backend data structure: time 0.02213/0.5671, allocations: 7.698 MB / 0.6055 GB, free: 5.012 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.5671, allocations: 8.031 kB / 0.6056 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01627/0.5834, allocations: 3.082 MB / 0.6086 GB, free: 1.914 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01109/0.5945, allocations: 4.823 MB / 0.6133 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002967/0.5949, allocations: 365.6 kB / 0.6136 GB, free: 12.65 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001852/0.5967, allocations: 495.8 kB / 0.6141 GB, free: 12.17 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02799/0.6247, allocations: 14.25 MB / 0.628 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002354/0.625, allocations: 75.45 kB / 0.6281 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006806/0.6257, allocations: 235.8 kB / 0.6283 GB, free: 12.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004414/0.6301, allocations: 2.535 MB / 0.6308 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02457/0.6547, allocations: 11.77 MB / 0.6423 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07515/0.7299, allocations: 55.78 MB / 0.6967 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01269/0.7427, allocations: 4.695 MB / 0.7013 GB, free: 180 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004023/0.7468, allocations: 2.93 MB / 0.7042 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001314/0.7469, allocations: 52.8 kB / 0.7042 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.579e-05/0.747, allocations: 60.25 kB / 0.7043 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 5.11e-06/0.747, allocations: 0 / 0.7043 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.4139/1.161, allocations: 23.64 MB / 0.7274 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/1.161, allocations: 252.1 kB / 0.7276 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/1.172, allocations: 6.727 MB / 0.7342 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000564/1.173, allocations: 52.39 kB / 0.7342 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002799/1.176, allocations: 4.637 MB / 0.7388 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.000965/1.177, allocations: 0.8649 MB / 0.7396 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001947/1.179, allocations: 1.683 MB / 0.7413 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.06e-05/1.179, allocations: 305.1 kB / 0.7416 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003427/1.182, allocations: 2.879 MB / 0.7444 GB, free: 150 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005005/1.187, allocations: 7.796 MB / 0.752 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009789/1.197, allocations: 11.43 MB / 0.7631 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001339/1.197, allocations: 48 kB / 0.7632 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.02074/1.218, allocations: 11.92 MB / 0.7748 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.683e-05/1.218, allocations: 80 kB / 0.7749 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001558/1.218, allocations: 172.5 kB / 0.7751 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004262/1.222, allocations: 1.773 MB / 0.7768 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005908/1.228, allocations: 1.914 MB / 0.7787 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01239/1.241, allocations: 12.41 MB / 0.7908 GB, free: 100.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007874/1.249, allocations: 455.5 kB / 0.7912 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00135/1.25, allocations: 488 kB / 0.7917 GB, free: 99.76 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 (worldForce2.arrow.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce1.arrow.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce.arrow.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.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],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 (994): * Single equations (assignments): 988 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004677/1.255, allocations: 2.96 MB / 0.7946 GB, free: 96.79 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001286/1.256, allocations: 0.5666 MB / 0.7951 GB, free: 96.22 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007711/1.264, allocations: 4.841 MB / 0.7999 GB, free: 91.35 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.341e-05/1.264, allocations: 20 kB / 0.7999 GB, free: 91.33 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.913e-05/1.264, allocations: 11.94 kB / 0.7999 GB, free: 91.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.209e-05/1.264, allocations: 11.97 kB / 0.7999 GB, free: 91.31 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01759/1.281, allocations: 11.06 MB / 0.8107 GB, free: 80.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/1.281, allocations: 4 kB / 0.8107 GB, free: 80.21 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001829/1.283, allocations: 395.4 kB / 0.8111 GB, free: 79.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003618/1.287, allocations: 1.484 MB / 0.8125 GB, free: 78.33 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002192/1.287, allocations: 32 kB / 0.8126 GB, free: 78.3 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/1.297, allocations: 11.49 MB / 0.8238 GB, free: 66.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.297, allocations: 3.938 kB / 0.8238 GB, free: 66.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01184/1.309, allocations: 7.958 MB / 0.8316 GB, free: 58.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003074/1.312, allocations: 0.6379 MB / 0.8322 GB, free: 57.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007539/1.313, allocations: 47.92 kB / 0.8322 GB, free: 57.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001986/1.315, allocations: 131.8 kB / 0.8323 GB, free: 57.57 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004656/1.316, allocations: 120.6 kB / 0.8325 GB, free: 57.46 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001484/1.316, allocations: 52.09 kB / 0.8325 GB, free: 57.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.006635/1.322, allocations: 4.281 MB / 0.8367 GB, free: 53.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/1.322, allocations: 3.938 kB / 0.8367 GB, free: 53.13 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009118/1.332, allocations: 1.457 MB / 0.8381 GB, free: 51.68 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,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (160): * Single equations (assignments): 154 * 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,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005217/1.332, allocations: 162.7 kB / 0.8383 GB, free: 51.51 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.009765/1.342, allocations: 7.085 MB / 0.8452 GB, free: 44.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.342, allocations: 192 / 0.8452 GB, free: 44.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00257/1.345, allocations: 2.277 MB / 0.8474 GB, free: 42.12 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004953/1.35, allocations: 0.7614 MB / 0.8482 GB, free: 41.38 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02131/1.371, allocations: 13.74 MB / 0.8616 GB, free: 27.59 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004684/1.376, allocations: 4.508 MB / 0.866 GB, free: 23.04 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.005132/1.381, allocations: 2.499 MB / 0.8684 GB, free: 20.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009791/1.382, allocations: 347.4 kB / 0.8688 GB, free: 20.2 MB / 0.5606 GB Notification: Performance of SimCode: time 9.12e-07/1.382, allocations: 0 / 0.8688 GB, free: 20.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.112/1.494, allocations: 53.57 MB / 0.9211 GB, free: 14.95 MB / 0.6075 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches