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.001027/0.001027, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001113, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.347/1.347, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2067/0.2067, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 71.88 kB / 481.3 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4368, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01798/0.4548, allocations: 15.41 MB / 0.5461 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01262/0.4675, allocations: 5.063 MB / 0.551 GB, free: 13.19 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004694/0.4722, allocations: 103.7 kB / 0.5511 GB, free: 13.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01028/0.4827, allocations: 5.004 MB / 0.556 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008998/0.4917, allocations: 2.501 MB / 0.5584 GB, free: 5.562 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003803/0.4955, allocations: 1.24 MB / 0.5596 GB, free: 4.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01361/0.5091, allocations: 7.928 MB / 0.5674 GB, free: 12.37 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01044/0.5196, allocations: 5.953 MB / 0.5732 GB, free: 6.332 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006387/0.5261, allocations: 2.5 MB / 0.5756 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007366/0.5335, allocations: 3.431 MB / 0.579 GB, free: 392 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003249/0.5368, allocations: 0.5352 MB / 0.5795 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005102/0.5419, allocations: 1.553 MB / 0.581 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004365/0.5463, allocations: 3.113 MB / 0.5841 GB, free: 11.17 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00718/0.5535, allocations: 3.457 MB / 0.5874 GB, free: 7.695 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01882/0.5723, allocations: 10.84 MB / 0.598 GB, free: 12.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.017e-05/0.5724, allocations: 0 / 0.598 GB, free: 12.81 MB / 462.1 MB Notification: Performance of FrontEnd: time 7.053e-06/0.5724, allocations: 0 / 0.598 GB, free: 12.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.000827/0.5733, allocations: 3.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.02563/0.5989, allocations: 7.694 MB / 0.6055 GB, free: 5.016 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.599, allocations: 12.03 kB / 0.6056 GB, free: 5.004 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01526/0.6142, allocations: 3.078 MB / 0.6086 GB, free: 1.918 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01303/0.6273, allocations: 4.827 MB / 0.6133 GB, free: 13.01 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005043/0.6279, allocations: 373.6 kB / 0.6136 GB, free: 12.64 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003034/0.6309, allocations: 495.8 kB / 0.6141 GB, free: 12.16 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02963/0.6606, allocations: 14.24 MB / 0.628 GB, free: 12.89 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003191/0.6609, allocations: 71.45 kB / 0.6281 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001463/0.6624, allocations: 227.8 kB / 0.6283 GB, free: 12.6 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004553/0.667, allocations: 2.543 MB / 0.6308 GB, free: 10.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0243/0.6913, allocations: 11.77 MB / 0.6423 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07542/0.7668, allocations: 55.78 MB / 0.6968 GB, free: 5.027 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01272/0.7795, allocations: 4.683 MB / 0.7013 GB, free: 184 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004302/0.7839, allocations: 2.942 MB / 0.7042 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.7841, allocations: 40.83 kB / 0.7042 GB, free: 13.18 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.397e-05/0.7842, allocations: 56.25 kB / 0.7043 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=190): time 5.591e-06/0.7842, allocations: 0 / 0.7043 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=208): time 0.3671/1.151, allocations: 23.65 MB / 0.7274 GB, free: 158.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/1.152, allocations: 251.3 kB / 0.7276 GB, free: 158.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01478/1.166, allocations: 6.722 MB / 0.7342 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000648/1.167, allocations: 56.88 kB / 0.7342 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.003151/1.17, allocations: 4.638 MB / 0.7388 GB, free: 152.7 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001208/1.171, allocations: 0.8671 MB / 0.7396 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0022/1.174, allocations: 1.681 MB / 0.7413 GB, free: 151.2 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 5.763e-05/1.174, allocations: 305 kB / 0.7416 GB, free: 150.9 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00353/1.177, allocations: 2.883 MB / 0.7444 GB, free: 150 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005406/1.183, allocations: 7.79 MB / 0.752 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00926/1.192, allocations: 11.42 MB / 0.7631 GB, free: 129.4 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001082/1.192, allocations: 51.94 kB / 0.7632 GB, free: 129.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1057) (initialization): time 0.0183/1.21, allocations: 11.93 MB / 0.7748 GB, free: 117.4 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.744e-05/1.21, allocations: 80.06 kB / 0.7749 GB, free: 117.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001965/1.211, allocations: 172 kB / 0.7751 GB, free: 117.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004069/1.215, allocations: 1.776 MB / 0.7768 GB, free: 115.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00608/1.221, allocations: 1.91 MB / 0.7787 GB, free: 113.5 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01172/1.233, allocations: 12.41 MB / 0.7908 GB, free: 100.6 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007528/1.24, allocations: 458.8 kB / 0.7912 GB, free: 100.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001663/1.242, allocations: 488 kB / 0.7917 GB, free: 99.73 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.006533/1.248, allocations: 2.961 MB / 0.7946 GB, free: 96.75 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001661/1.25, allocations: 0.5665 MB / 0.7951 GB, free: 96.18 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00915/1.259, allocations: 4.839 MB / 0.7999 GB, free: 91.32 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.153e-05/1.259, allocations: 24 kB / 0.7999 GB, free: 91.3 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.008e-05/1.259, allocations: 11.94 kB / 0.7999 GB, free: 91.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.539e-05/1.259, allocations: 11.95 kB / 0.7999 GB, free: 91.27 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02414/1.284, allocations: 11.05 MB / 0.8107 GB, free: 80.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.61e-05/1.284, allocations: 0 / 0.8107 GB, free: 80.18 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001875/1.286, allocations: 395.4 kB / 0.8111 GB, free: 79.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003986/1.29, allocations: 1.474 MB / 0.8125 GB, free: 78.3 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002973/1.29, allocations: 43.44 kB / 0.8126 GB, free: 78.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01162/1.302, allocations: 11.49 MB / 0.8238 GB, free: 66.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/1.302, allocations: 7.969 kB / 0.8238 GB, free: 66.36 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.315, allocations: 7.962 MB / 0.8316 GB, free: 58.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002217/1.318, allocations: 0.6339 MB / 0.8322 GB, free: 57.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001796/1.32, allocations: 39.94 kB / 0.8322 GB, free: 57.67 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003097/1.323, allocations: 135.8 kB / 0.8324 GB, free: 57.54 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004701/1.323, allocations: 117.4 kB / 0.8325 GB, free: 57.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/1.323, allocations: 55.94 kB / 0.8325 GB, free: 57.37 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.007569/1.331, allocations: 4.277 MB / 0.8367 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7.82e-07/1.331, allocations: 0 / 0.8367 GB, free: 53.1 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01004/1.341, allocations: 1.457 MB / 0.8381 GB, free: 51.64 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.0006445/1.342, allocations: 162.6 kB / 0.8383 GB, free: 51.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00941/1.351, allocations: 7.083 MB / 0.8452 GB, free: 44.41 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/1.351, allocations: 0 / 0.8452 GB, free: 44.41 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002737/1.354, allocations: 2.287 MB / 0.8474 GB, free: 42.09 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005838/1.36, allocations: 0.7564 MB / 0.8482 GB, free: 41.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02318/1.383, allocations: 13.74 MB / 0.8616 GB, free: 27.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006722/1.39, allocations: 4.504 MB / 0.866 GB, free: 23 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.006205/1.396, allocations: 2.503 MB / 0.8684 GB, free: 20.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001419/1.397, allocations: 347.4 kB / 0.8688 GB, free: 20.16 MB / 0.5606 GB Notification: Performance of SimCode: time 1.363e-06/1.397, allocations: 0 / 0.8688 GB, free: 20.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.1012/1.499, allocations: 53.56 MB / 0.9211 GB, free: 14.91 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