Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.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.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001347/0.001346, allocations: 115.9 kB / 17.33 MB, free: 5.984 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001473/0.001473, allocations: 205.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.47/1.47, allocations: 227.4 MB / 246.4 MB, free: 9.137 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.11 MB / 343.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001444/0.001444, allocations: 76.16 kB / 417 MB, free: 20.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1418, allocations: 62.44 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameTorques): time 0.3184/0.4603, allocations: 64.73 MB / 0.5315 GB, free: 7.348 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03048/0.4908, allocations: 12.91 MB / 0.5441 GB, free: 15.41 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01556/0.5064, allocations: 283.1 kB / 0.5443 GB, free: 15.36 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007135/0.5136, allocations: 3.584 MB / 0.5478 GB, free: 13.56 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006723/0.5204, allocations: 2.039 MB / 0.5498 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002543/0.5229, allocations: 0.9394 MB / 0.5507 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.009542/0.5325, allocations: 6.452 MB / 0.557 GB, free: 7.949 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006462/0.539, allocations: 4.807 MB / 0.5617 GB, free: 3.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004159/0.5431, allocations: 2.001 MB / 0.5637 GB, free: 1.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004274/0.5474, allocations: 2.917 MB / 0.5665 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001032/0.5485, allocations: 415.9 kB / 0.5669 GB, free: 13.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002898/0.5514, allocations: 1.455 MB / 0.5684 GB, free: 12.3 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002958/0.5544, allocations: 2.459 MB / 0.5708 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003876/0.5583, allocations: 2.734 MB / 0.5734 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009297/0.5676, allocations: 8.427 MB / 0.5817 GB, free: 14.63 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.5676, allocations: 0 / 0.5817 GB, free: 14.63 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5676, allocations: 0 / 0.5817 GB, free: 14.63 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001965/0.5678, allocations: 0 / 0.5817 GB, free: 14.63 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1729 * Number of variables: 1729 Notification: Performance of Generate backend data structure: time 0.01165/0.5795, allocations: 6.016 MB / 0.5875 GB, free: 8.543 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.5795, allocations: 8.031 kB / 0.5875 GB, free: 8.535 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01094/0.5905, allocations: 2.544 MB / 0.59 GB, free: 5.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008362/0.5989, allocations: 3.668 MB / 0.5936 GB, free: 2.258 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002949/0.5992, allocations: 279.7 kB / 0.5939 GB, free: 1.984 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0018/0.601, allocations: 383.6 kB / 0.5942 GB, free: 1.609 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/0.6239, allocations: 11.6 MB / 0.6056 GB, free: 5.156 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002768/0.6242, allocations: 63.42 kB / 0.6056 GB, free: 5.094 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001331/0.6256, allocations: 179.8 kB / 0.6058 GB, free: 4.918 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003771/0.6294, allocations: 2.147 MB / 0.6079 GB, free: 2.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01892/0.6483, allocations: 9.625 MB / 0.6173 GB, free: 9.117 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05687/0.7052, allocations: 45.97 MB / 0.6622 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01024/0.7155, allocations: 3.904 MB / 0.666 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002825/0.7184, allocations: 2.143 MB / 0.6681 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01004/0.7284, allocations: 5.87 MB / 0.6738 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.7285, allocations: 55 kB / 0.6739 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=150): time 4.789e-06/0.7285, allocations: 0 / 0.6739 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of matching and sorting (n=162): time 0.04467/0.7732, allocations: 17.36 MB / 0.6908 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/0.7734, allocations: 226.1 kB / 0.691 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008636/0.782, allocations: 5.619 MB / 0.6965 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005361/0.7826, allocations: 49.69 kB / 0.6966 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002997/0.7856, allocations: 3.705 MB / 0.7002 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00104/0.7867, allocations: 0.6599 MB / 0.7008 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002001/0.7887, allocations: 1.415 MB / 0.7022 GB, free: 284 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001883/0.7889, allocations: 305.1 kB / 0.7025 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/0.7924, allocations: 2.289 MB / 0.7047 GB, free: 13.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006833/0.7992, allocations: 6.555 MB / 0.7111 GB, free: 5.012 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.2769/1.076, allocations: 9.504 MB / 0.7204 GB, free: 186.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000141/1.076, allocations: 47.98 kB / 0.7205 GB, free: 186.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=898) (initialization): time 0.01821/1.095, allocations: 9.583 MB / 0.7298 GB, free: 184.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001245/1.095, allocations: 74.08 kB / 0.7299 GB, free: 184.1 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002382/1.095, allocations: 149.7 kB / 0.73 GB, free: 184.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003426/1.098, allocations: 1.232 MB / 0.7313 GB, free: 183.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005007/1.103, allocations: 1.558 MB / 0.7328 GB, free: 183.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009344/1.113, allocations: 8.47 MB / 0.741 GB, free: 178.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006047/1.119, allocations: 368.9 kB / 0.7414 GB, free: 178.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.12, allocations: 416.8 kB / 0.7418 GB, free: 178.5 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 49 (frameTorque2.arrow.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque1.arrow.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],fixed2.color[3],fixed2.color[2],fixed2.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 (836): * Single equations (assignments): 829 * 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 {(1,14,100.0%), (2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004231/1.124, allocations: 2.47 MB / 0.7442 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007664/1.125, allocations: 453.1 kB / 0.7446 GB, free: 177.5 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005215/1.13, allocations: 3.398 MB / 0.748 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.706e-05/1.13, allocations: 15.41 kB / 0.748 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/1.13, allocations: 9.5 kB / 0.748 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/1.13, allocations: 7.406 kB / 0.748 GB, free: 176.3 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/1.142, allocations: 8.198 MB / 0.756 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.615e-05/1.142, allocations: 3.406 kB / 0.756 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/1.143, allocations: 256.3 kB / 0.7562 GB, free: 173.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002401/1.146, allocations: 1.005 MB / 0.7572 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/1.146, allocations: 35.23 kB / 0.7573 GB, free: 173 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006987/1.153, allocations: 7.805 MB / 0.7649 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.153, allocations: 11.89 kB / 0.7649 GB, free: 165.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007029/1.16, allocations: 5.862 MB / 0.7706 GB, free: 159.5 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/1.161, allocations: 0.5186 MB / 0.7711 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005012/1.162, allocations: 31.94 kB / 0.7711 GB, free: 159 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/1.163, allocations: 91.88 kB / 0.7712 GB, free: 158.9 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002537/1.164, allocations: 96.81 kB / 0.7713 GB, free: 158.8 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/1.164, allocations: 44 kB / 0.7714 GB, free: 158.7 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004126/1.168, allocations: 3.6 MB / 0.7749 GB, free: 155.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/1.168, allocations: 0 / 0.7749 GB, free: 155.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.006563/1.174, allocations: 1.14 MB / 0.776 GB, free: 154 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (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 (120): * Single equations (assignments): 115 * 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 {(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.000499/1.175, allocations: 163.2 kB / 0.7762 GB, free: 153.8 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008135/1.183, allocations: 5.933 MB / 0.782 GB, free: 148 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.18e-05/1.183, allocations: 4.062 kB / 0.782 GB, free: 148 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/1.185, allocations: 1.621 MB / 0.7835 GB, free: 146.3 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004876/1.19, allocations: 0.5926 MB / 0.7841 GB, free: 145.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/1.208, allocations: 13.06 MB / 0.7969 GB, free: 132.6 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/1.211, allocations: 3.772 MB / 0.8006 GB, free: 128.8 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.004565/1.215, allocations: 2.116 MB / 0.8026 GB, free: 126.7 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000733/1.216, allocations: 287.4 kB / 0.8029 GB, free: 126.4 MB / 0.545 GB Notification: Performance of SimCode: time 2.054e-06/1.216, allocations: 4 kB / 0.8029 GB, free: 126.4 MB / 0.545 GB Notification: Performance of Templates: time 0.0679/1.284, allocations: 44.87 MB / 0.8467 GB, free: 81.73 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameTorques/FrameTorques.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.FrameTorques.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches