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.001308/0.001308, allocations: 109.2 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.45/1.45, allocations: 227.4 MB / 246.3 MB, free: 10.83 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2336/0.2336, allocations: 46.12 MB / 343.6 MB, free: 11.82 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 79.09 kB / 416.8 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.13, allocations: 62.44 MB / 479.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.3263/0.4564, allocations: 81.43 MB / 0.5476 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.03882/0.4952, allocations: 15.65 MB / 0.5629 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02361/0.5189, allocations: 359.5 kB / 0.5632 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01008/0.529, allocations: 5.008 MB / 0.5681 GB, free: 12.46 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007284/0.5363, allocations: 2.331 MB / 0.5704 GB, free: 10.12 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.5395, allocations: 1.03 MB / 0.5714 GB, free: 9.094 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01286/0.5524, allocations: 10.02 MB / 0.5812 GB, free: 15.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008926/0.5614, allocations: 5.712 MB / 0.5867 GB, free: 9.281 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004409/0.5658, allocations: 2.129 MB / 0.5888 GB, free: 7.145 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005885/0.5717, allocations: 3.462 MB / 0.5922 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001865/0.5736, allocations: 372 kB / 0.5926 GB, free: 3.309 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005473/0.5791, allocations: 1.326 MB / 0.5939 GB, free: 1.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00547/0.5846, allocations: 2.879 MB / 0.5967 GB, free: 15.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007753/0.5924, allocations: 3.215 MB / 0.5998 GB, free: 11.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01369/0.6061, allocations: 9.949 MB / 0.6095 GB, free: 1.879 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.6062, allocations: 0 / 0.6095 GB, free: 1.879 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.6062, allocations: 4 kB / 0.6095 GB, free: 1.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004733/0.6067, allocations: 0 / 0.6095 GB, free: 1.875 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.02309/0.6298, allocations: 7.405 MB / 0.6168 GB, free: 10.38 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.6298, allocations: 8.875 kB / 0.6168 GB, free: 10.38 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01335/0.6432, allocations: 2.714 MB / 0.6194 GB, free: 7.648 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01142/0.6547, allocations: 4.191 MB / 0.6235 GB, free: 3.375 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004026/0.6551, allocations: 357.7 kB / 0.6239 GB, free: 3.023 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00215/0.6573, allocations: 487.5 kB / 0.6243 GB, free: 2.547 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03197/0.6893, allocations: 14.67 MB / 0.6386 GB, free: 2.871 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003148/0.6896, allocations: 71.31 kB / 0.6387 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001714/0.6913, allocations: 227.8 kB / 0.6389 GB, free: 2.578 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00539/0.6967, allocations: 2.742 MB / 0.6416 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02868/0.7254, allocations: 12.49 MB / 0.6538 GB, free: 3.312 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0798/0.8053, allocations: 58.25 MB / 0.7107 GB, free: 7.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01938/0.8247, allocations: 7.275 MB / 0.7178 GB, free: 192 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2757/1.1, allocations: 3.89 MB / 0.7216 GB, free: 197.7 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01386/1.114, allocations: 8.983 MB / 0.7304 GB, free: 193.7 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/1.114, allocations: 63.47 kB / 0.7304 GB, free: 193.7 MB / 0.545 GB Notification: Performance of pre-optimization done (n=246): time 5.32e-06/1.114, allocations: 1.938 kB / 0.7304 GB, free: 193.7 MB / 0.545 GB Notification: Performance of matching and sorting (n=288): time 0.0775/1.192, allocations: 32.72 MB / 0.7624 GB, free: 178.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.353e-05/1.192, allocations: 241.6 kB / 0.7626 GB, free: 178 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007317/1.199, allocations: 6.649 MB / 0.7691 GB, free: 171.4 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0006302/1.2, allocations: 69.7 kB / 0.7692 GB, free: 171.3 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.001837/1.202, allocations: 4.379 MB / 0.7735 GB, free: 166.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000972/1.203, allocations: 1.108 MB / 0.7745 GB, free: 165.8 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/1.205, allocations: 1.784 MB / 0.7763 GB, free: 164 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 4.312e-05/1.205, allocations: 305.1 kB / 0.7766 GB, free: 163.7 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004024/1.209, allocations: 3.613 MB / 0.7801 GB, free: 160.1 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006322/1.215, allocations: 8.616 MB / 0.7885 GB, free: 149.1 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/1.227, allocations: 13.15 MB / 0.8014 GB, free: 133.5 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/1.228, allocations: 51.94 kB / 0.8014 GB, free: 133.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02409/1.252, allocations: 14.03 MB / 0.8151 GB, free: 119.4 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.893e-05/1.252, allocations: 80 kB / 0.8152 GB, free: 119.4 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/1.252, allocations: 176 kB / 0.8153 GB, free: 119.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00518/1.257, allocations: 2.266 MB / 0.8176 GB, free: 116.9 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006128/1.263, allocations: 2.012 MB / 0.8195 GB, free: 114.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01307/1.277, allocations: 13.28 MB / 0.8325 GB, free: 101.4 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005992/1.283, allocations: 0.5046 MB / 0.833 GB, free: 100.9 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000883/1.283, allocations: 0.5078 MB / 0.8335 GB, free: 100.3 MB / 0.545 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.003779/1.287, allocations: 2.98 MB / 0.8364 GB, free: 97.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008891/1.288, allocations: 0.5515 MB / 0.8369 GB, free: 96.79 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01049/1.299, allocations: 7.235 MB / 0.844 GB, free: 89.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.722e-05/1.299, allocations: 32 kB / 0.844 GB, free: 89.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.835e-05/1.299, allocations: 12 kB / 0.844 GB, free: 89.49 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.281e-05/1.299, allocations: 15.95 kB / 0.8441 GB, free: 89.48 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02279/1.322, allocations: 15.16 MB / 0.8589 GB, free: 74.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/1.322, allocations: 4 kB / 0.8589 GB, free: 74.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002293/1.324, allocations: 495.2 kB / 0.8593 GB, free: 73.79 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004784/1.329, allocations: 2.014 MB / 0.8613 GB, free: 71.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004616/1.329, allocations: 48 kB / 0.8613 GB, free: 71.72 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01366/1.343, allocations: 12.6 MB / 0.8737 GB, free: 58.86 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.343, allocations: 8 kB / 0.8737 GB, free: 58.85 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01591/1.359, allocations: 11.46 MB / 0.8849 GB, free: 47.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/1.36, allocations: 0.627 MB / 0.8855 GB, free: 46.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001554/1.362, allocations: 55.98 kB / 0.8855 GB, free: 46.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/1.365, allocations: 199.7 kB / 0.8857 GB, free: 46.32 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008074/1.366, allocations: 177.6 kB / 0.8859 GB, free: 46.15 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/1.366, allocations: 75.94 kB / 0.886 GB, free: 46.07 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.007863/1.374, allocations: 4.268 MB / 0.8901 GB, free: 41.82 MB / 0.545 GB Notification: Performance of sort global known variables: time 6.52e-07/1.374, allocations: 0 / 0.8901 GB, free: 41.82 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008635/1.383, allocations: 1.592 MB / 0.8917 GB, free: 40.23 MB / 0.545 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.0006075/1.383, allocations: 192.2 kB / 0.8919 GB, free: 40.04 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01055/1.394, allocations: 8.742 MB / 0.9004 GB, free: 31.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 6.202e-06/1.394, allocations: 0 / 0.9004 GB, free: 31.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004932/1.399, allocations: 3.535 MB / 0.9038 GB, free: 27.74 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004076/1.403, allocations: 0.6927 MB / 0.9045 GB, free: 27.06 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2376/1.641, allocations: 17.8 MB / 0.9219 GB, free: 173.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008943/1.65, allocations: 4.542 MB / 0.9263 GB, free: 173.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00872/1.658, allocations: 2.786 MB / 0.9291 GB, free: 173 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/1.66, allocations: 385.1 kB / 0.9294 GB, free: 173 MB / 0.545 GB Notification: Performance of SimCode: time 9.52e-07/1.66, allocations: 1.75 kB / 0.9294 GB, free: 173 MB / 0.545 GB Notification: Performance of Templates: time 0.1014/1.761, allocations: 65.08 MB / 0.993 GB, free: 129.9 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Force/Force.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches