Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008303/0.0008305, allocations: 94.53 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000972/0.000972, allocations: 205.5 kB / 18.94 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 247.5 MB, free: 11.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1929/0.1929, allocations: 46.19 MB / 345.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003923/0.0003924, allocations: 8 kB / 420.2 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1483, allocations: 63.56 MB / 483.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3328/0.4812, allocations: 79.48 MB / 0.55 GB, free: 13.13 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03573/0.5169, allocations: 15.61 MB / 0.5653 GB, free: 1.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01532/0.5323, allocations: 352 kB / 0.5656 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002665/0.535, allocations: 0.591 MB / 0.5662 GB, free: 1.418 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006932/0.542, allocations: 2.342 MB / 0.5685 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002448/0.5444, allocations: 0.906 MB / 0.5693 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01259/0.5571, allocations: 10.03 MB / 0.5791 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01194/0.569, allocations: 8.066 MB / 0.587 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003489/0.5726, allocations: 1.743 MB / 0.5887 GB, free: 11.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004511/0.5771, allocations: 2.962 MB / 0.5916 GB, free: 8.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001141/0.5783, allocations: 208 kB / 0.5918 GB, free: 7.867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002778/0.5811, allocations: 1.158 MB / 0.5929 GB, free: 6.707 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003079/0.5842, allocations: 2.645 MB / 0.5955 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004171/0.5884, allocations: 2.947 MB / 0.5984 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008548/0.597, allocations: 7.996 MB / 0.6062 GB, free: 9.066 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.597, allocations: 0 / 0.6062 GB, free: 9.066 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.597, allocations: 0 / 0.6062 GB, free: 9.066 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003295/0.5974, allocations: 0 / 0.6062 GB, free: 9.066 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01391/0.6113, allocations: 6.091 MB / 0.6121 GB, free: 2.895 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.6113, allocations: 8.875 kB / 0.6122 GB, free: 2.887 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01288/0.6242, allocations: 2.777 MB / 0.6149 GB, free: 100 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008766/0.633, allocations: 4.198 MB / 0.619 GB, free: 11.81 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003902/0.6335, allocations: 353.7 kB / 0.6193 GB, free: 11.46 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00173/0.6352, allocations: 479.6 kB / 0.6198 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02822/0.6635, allocations: 14.71 MB / 0.6341 GB, free: 11.29 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002792/0.6638, allocations: 59.47 kB / 0.6342 GB, free: 11.23 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001479/0.6653, allocations: 227.8 kB / 0.6344 GB, free: 11.01 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005211/0.6705, allocations: 2.738 MB / 0.6371 GB, free: 8.266 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0256/0.6962, allocations: 12.52 MB / 0.6493 GB, free: 11.71 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2996/0.9958, allocations: 58.29 MB / 0.7062 GB, free: 169.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02017/1.016, allocations: 7.303 MB / 0.7134 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005413/1.021, allocations: 3.89 MB / 0.7172 GB, free: 168.8 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/1.036, allocations: 8.973 MB / 0.7259 GB, free: 165.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.278e-05/1.037, allocations: 67.92 kB / 0.726 GB, free: 165 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=246): time 6.592e-06/1.037, allocations: 0 / 0.726 GB, free: 165 MB / 0.5294 GB Notification: Performance of matching and sorting (n=288): time 0.08178/1.118, allocations: 32.73 MB / 0.758 GB, free: 149.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.32e-05/1.119, allocations: 231.6 kB / 0.7582 GB, free: 148.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009994/1.129, allocations: 6.66 MB / 0.7647 GB, free: 142.2 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0006851/1.129, allocations: 66.95 kB / 0.7647 GB, free: 142.1 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002481/1.132, allocations: 4.378 MB / 0.769 GB, free: 137.7 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001416/1.133, allocations: 1.094 MB / 0.7701 GB, free: 136.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001507/1.135, allocations: 0.7531 MB / 0.7708 GB, free: 135.9 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 3.726e-05/1.135, allocations: 305.1 kB / 0.7711 GB, free: 135.6 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004774/1.14, allocations: 3.617 MB / 0.7746 GB, free: 131.9 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006806/1.146, allocations: 8.616 MB / 0.7831 GB, free: 121.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01252/1.159, allocations: 13.16 MB / 0.7959 GB, free: 105.6 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001755/1.159, allocations: 48 kB / 0.796 GB, free: 105.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02398/1.183, allocations: 14.04 MB / 0.8097 GB, free: 91.48 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002028/1.183, allocations: 80.95 kB / 0.8097 GB, free: 91.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002522/1.184, allocations: 176 kB / 0.8099 GB, free: 91.23 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005415/1.189, allocations: 2.262 MB / 0.8121 GB, free: 88.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006618/1.196, allocations: 2.016 MB / 0.8141 GB, free: 86.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/1.21, allocations: 13.3 MB / 0.8271 GB, free: 73.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006775/1.217, allocations: 0.5044 MB / 0.8276 GB, free: 72.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001518/1.219, allocations: 0.5087 MB / 0.8281 GB, free: 72.38 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 796 * Number of states: 0 () * Number of discrete variables: 67 (force2.forceArrow.twoHeadedArrow,force2.forceArrow.headAtOrigin,force1.forceArrow.twoHeadedArrow,force1.forceArrow.headAtOrigin,fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1058): * Single equations (assignments): 1051 * 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 {(2,22,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005357/1.224, allocations: 2.984 MB / 0.831 GB, free: 69.38 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/1.225, allocations: 0.5553 MB / 0.8315 GB, free: 68.82 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/1.238, allocations: 7.224 MB / 0.8386 GB, free: 61.57 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.807e-05/1.238, allocations: 32.55 kB / 0.8386 GB, free: 61.54 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-05/1.238, allocations: 8 kB / 0.8386 GB, free: 61.54 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.459e-05/1.238, allocations: 17.02 kB / 0.8386 GB, free: 61.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02675/1.265, allocations: 15.16 MB / 0.8534 GB, free: 46.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.288e-05/1.265, allocations: 4.469 kB / 0.8534 GB, free: 46.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002322/1.267, allocations: 495.2 kB / 0.8539 GB, free: 45.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005021/1.272, allocations: 2.022 MB / 0.8559 GB, free: 43.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000538/1.273, allocations: 51.98 kB / 0.8559 GB, free: 43.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01418/1.287, allocations: 12.59 MB / 0.8682 GB, free: 30.89 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/1.287, allocations: 8 kB / 0.8682 GB, free: 30.89 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01596/1.303, allocations: 11.46 MB / 0.8794 GB, free: 19.26 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/1.304, allocations: 0.642 MB / 0.8801 GB, free: 18.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001322/1.306, allocations: 55.94 kB / 0.8801 GB, free: 18.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003573/1.309, allocations: 203.7 kB / 0.8803 GB, free: 18.34 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006499/1.31, allocations: 178.7 kB / 0.8805 GB, free: 18.16 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000329/1.31, allocations: 83.98 kB / 0.8806 GB, free: 18.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006757/1.317, allocations: 4.26 MB / 0.8847 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8.72e-07/1.317, allocations: 0 / 0.8847 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007651/1.325, allocations: 1.58 MB / 0.8863 GB, free: 12.26 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (232): * Single equations (assignments): 227 * 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 {(4,17,75.0%), (4,17,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008583/1.326, allocations: 197.4 kB / 0.8864 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01259/1.338, allocations: 8.74 MB / 0.895 GB, free: 3.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.338, allocations: 8 kB / 0.895 GB, free: 3.312 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006063/1.344, allocations: 3.533 MB / 0.8984 GB, free: 15.76 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009685/1.354, allocations: 0.6924 MB / 0.8991 GB, free: 15.07 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2557/1.61, allocations: 18.52 MB / 0.9172 GB, free: 173.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01012/1.62, allocations: 4.519 MB / 0.9216 GB, free: 173 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002135/1.622, allocations: 437.7 kB / 0.922 GB, free: 173 MB / 0.545 GB Notification: Performance of SimCode: time 1.182e-06/1.622, allocations: 1.312 kB / 0.922 GB, free: 173 MB / 0.545 GB Notification: Performance of Templates: time 0.1675/1.79, allocations: 141.6 MB / 1.06 GB, free: 52.64 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches