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.001442/0.001442, allocations: 114.3 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001554/0.001554, allocations: 210 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.468/1.468, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2027/0.2027, allocations: 46.1 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.001491, allocations: 75.88 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3181, allocations: 62.43 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01603/0.3341, allocations: 15.51 MB / 0.5468 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01159/0.3458, allocations: 4.94 MB / 0.5516 GB, free: 13.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003272/0.3491, allocations: 99.75 kB / 0.5517 GB, free: 13.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009265/0.3584, allocations: 5 MB / 0.5566 GB, free: 8.098 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007484/0.3659, allocations: 2.473 MB / 0.559 GB, free: 5.617 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00271/0.3686, allocations: 1.104 MB / 0.5601 GB, free: 4.512 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01004/0.3787, allocations: 6.882 MB / 0.5668 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006619/0.3853, allocations: 5.776 MB / 0.5725 GB, free: 7.762 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004029/0.3894, allocations: 2.395 MB / 0.5748 GB, free: 5.359 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004767/0.3942, allocations: 3.228 MB / 0.578 GB, free: 2.121 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001563/0.3958, allocations: 0.5039 MB / 0.5785 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003132/0.3989, allocations: 1.397 MB / 0.5798 GB, free: 224 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002924/0.4019, allocations: 2.997 MB / 0.5827 GB, free: 13.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003951/0.4058, allocations: 3.344 MB / 0.586 GB, free: 9.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01168/0.4175, allocations: 10.37 MB / 0.5961 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.4176, allocations: 0 / 0.5961 GB, free: 15.45 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.4176, allocations: 0 / 0.5961 GB, free: 15.45 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003753/0.418, allocations: 0 / 0.5961 GB, free: 15.45 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: 2161 * Number of variables: 2161 Notification: Performance of Generate backend data structure: time 0.01815/0.4361, allocations: 7.404 MB / 0.6034 GB, free: 7.957 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4362, allocations: 16.02 kB / 0.6034 GB, free: 7.941 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/0.449, allocations: 2.706 MB / 0.606 GB, free: 5.223 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.4601, allocations: 4.277 MB / 0.6102 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000415/0.4606, allocations: 353.5 kB / 0.6105 GB, free: 0.5156 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002247/0.4629, allocations: 483.6 kB / 0.611 GB, free: 44 kB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02755/0.4904, allocations: 14.68 MB / 0.6253 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001897/0.4907, allocations: 67.34 kB / 0.6254 GB, free: 300 kB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007083/0.4914, allocations: 227.8 kB / 0.6256 GB, free: 72 kB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004692/0.4961, allocations: 2.738 MB / 0.6283 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02484/0.5209, allocations: 12.5 MB / 0.6405 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07262/0.5936, allocations: 58.01 MB / 0.6971 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01892/0.6126, allocations: 7.271 MB / 0.7042 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005192/0.6178, allocations: 3.895 MB / 0.7081 GB, free: 9.996 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01612/0.634, allocations: 8.969 MB / 0.7168 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.708e-05/0.6341, allocations: 64.5 kB / 0.7169 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=246): time 8.226e-06/0.6341, allocations: 0 / 0.7169 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of matching and sorting (n=288): time 0.346/0.9802, allocations: 32.73 MB / 0.7488 GB, free: 149.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.668e-05/0.9803, allocations: 235.6 kB / 0.7491 GB, free: 149.1 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007891/0.9882, allocations: 6.665 MB / 0.7556 GB, free: 142.4 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0007175/0.9889, allocations: 65.7 kB / 0.7556 GB, free: 142.3 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.002151/0.9911, allocations: 4.381 MB / 0.7599 GB, free: 138 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/0.9923, allocations: 1.096 MB / 0.761 GB, free: 136.9 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002122/0.9945, allocations: 1.784 MB / 0.7627 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.551e-05/0.9945, allocations: 305.1 kB / 0.763 GB, free: 134.8 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/0.9986, allocations: 3.617 MB / 0.7665 GB, free: 131.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006496/1.005, allocations: 8.616 MB / 0.775 GB, free: 120.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/1.017, allocations: 13.16 MB / 0.7878 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001345/1.017, allocations: 48 kB / 0.7879 GB, free: 104.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.02413/1.041, allocations: 14.04 MB / 0.8016 GB, free: 90.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/1.041, allocations: 81.88 kB / 0.8016 GB, free: 90.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002215/1.041, allocations: 176.6 kB / 0.8018 GB, free: 90.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005424/1.047, allocations: 2.257 MB / 0.804 GB, free: 87.89 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006453/1.053, allocations: 2.02 MB / 0.806 GB, free: 85.87 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01462/1.068, allocations: 14.23 MB / 0.8199 GB, free: 71.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008331/1.076, allocations: 0.507 MB / 0.8204 GB, free: 70.87 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001981/1.078, allocations: 0.5116 MB / 0.8209 GB, free: 70.36 MB / 0.5606 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.005559/1.084, allocations: 2.983 MB / 0.8238 GB, free: 67.36 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001265/1.085, allocations: 0.5553 MB / 0.8243 GB, free: 66.8 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0112/1.097, allocations: 7.22 MB / 0.8314 GB, free: 59.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-05/1.097, allocations: 36 kB / 0.8314 GB, free: 59.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.806e-05/1.097, allocations: 8 kB / 0.8314 GB, free: 59.51 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.534e-05/1.097, allocations: 15.89 kB / 0.8314 GB, free: 59.5 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02295/1.12, allocations: 14.97 MB / 0.8461 GB, free: 44.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.678e-05/1.12, allocations: 8.469 kB / 0.8461 GB, free: 44.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002375/1.122, allocations: 495.3 kB / 0.8465 GB, free: 44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004745/1.127, allocations: 2.023 MB / 0.8485 GB, free: 41.97 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005595/1.127, allocations: 56 kB / 0.8486 GB, free: 41.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/1.142, allocations: 13.57 MB / 0.8618 GB, free: 28.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.003e-06/1.142, allocations: 7.938 kB / 0.8618 GB, free: 28.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01589/1.158, allocations: 11.49 MB / 0.873 GB, free: 16.4 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001631/1.159, allocations: 0.6226 MB / 0.8737 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/1.161, allocations: 59.75 kB / 0.8737 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002986/1.164, allocations: 203.7 kB / 0.8739 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006272/1.164, allocations: 177.6 kB / 0.8741 GB, free: 15.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002154/1.165, allocations: 76 kB / 0.8741 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.005745/1.17, allocations: 4.264 MB / 0.8783 GB, free: 11 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/1.17, allocations: 0 / 0.8783 GB, free: 11 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007387/1.178, allocations: 1.585 MB / 0.8799 GB, free: 9.418 MB / 0.5606 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.0007522/1.179, allocations: 196.8 kB / 0.88 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01152/1.19, allocations: 8.779 MB / 0.8886 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.529e-05/1.19, allocations: 0 / 0.8886 GB, free: 456 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.006278/1.196, allocations: 3.483 MB / 0.892 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00621/1.203, allocations: 0.7246 MB / 0.8927 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03132/1.234, allocations: 15.5 MB / 0.9079 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006516/1.241, allocations: 4.512 MB / 0.9123 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/1.243, allocations: 443.3 kB / 0.9127 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of SimCode: time 1.262e-06/1.243, allocations: 0 / 0.9127 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of Templates: time 0.4236/1.666, allocations: 143.8 MB / 1.053 GB, free: 118 MB / 0.6231 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