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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008208/0.0008208, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.004332/0.004332, allocations: 154.1 kB / 24.69 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8901/0.8901, allocations: 177 MB / 204.9 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2363/0.2363, allocations: 34.24 MB / 295.6 MB, free: 0.6602 MB / 266.7 MB " [Timeout remaining time 180] 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=5002,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=5002,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 443.4 MB, free: 1.035 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.89e-05/2.101e-05, allocations: 4.812 kB / 443.4 MB, free: 1.031 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.1792/0.1792, allocations: 13.49 MB / 456.9 MB, free: 36.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.005392/0.1846, allocations: 4.746 MB / 461.7 MB, free: 33.3 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008546/0.1855, allocations: 128.3 kB / 461.8 MB, free: 33.26 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003488/0.189, allocations: 5.12 MB / 466.9 MB, free: 31.08 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002818/0.1918, allocations: 2.628 MB / 469.5 MB, free: 29.79 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.193, allocations: 1.217 MB / 470.8 MB, free: 29.24 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003771/0.1968, allocations: 7.659 MB / 478.4 MB, free: 26.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.1993, allocations: 4.983 MB / 483.4 MB, free: 24.09 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002709/0.2021, allocations: 3.645 MB / 487 MB, free: 22.49 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003534/0.2056, allocations: 3.435 MB / 490.5 MB, free: 21.54 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006836/0.2063, allocations: 0.5147 MB / 491 MB, free: 21.54 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002039/0.2083, allocations: 1.369 MB / 492.4 MB, free: 21.33 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002047/0.2104, allocations: 3.193 MB / 495.6 MB, free: 19.97 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001501/0.2119, allocations: 1.965 MB / 497.5 MB, free: 19 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007598/0.2195, allocations: 10.48 MB / 0.4961 GB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2195, allocations: 0 / 0.4961 GB, free: 13.37 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.2195, allocations: 0 / 0.4961 GB, free: 13.37 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001278/0.2196, allocations: 5.281 kB / 0.4961 GB, free: 13.36 MB / 410.7 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.00916/0.2288, allocations: 7.551 MB / 0.5035 GB, free: 8.152 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.2288, allocations: 9.625 kB / 0.5035 GB, free: 8.152 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006043/0.2348, allocations: 2.843 MB / 0.5063 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005318/0.2402, allocations: 4.199 MB / 0.5104 GB, free: 1.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.2403, allocations: 353.5 kB / 0.5107 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005024/0.2408, allocations: 476.1 kB / 0.5112 GB, free: 264 kB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.2565, allocations: 14.75 MB / 0.5256 GB, free: 500 kB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001097/0.2566, allocations: 67.45 kB / 0.5256 GB, free: 432 kB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/0.257, allocations: 228.7 kB / 0.5258 GB, free: 204 kB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002713/0.2597, allocations: 2.746 MB / 0.5285 GB, free: 13.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01501/0.2747, allocations: 12.47 MB / 0.5407 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04204/0.3168, allocations: 54.82 MB / 0.5942 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/0.3268, allocations: 6.79 MB / 0.6009 GB, free: 1.891 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002903/0.3297, allocations: 3.575 MB / 0.6044 GB, free: 14.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008183/0.3379, allocations: 7.989 MB / 0.6122 GB, free: 6.266 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.679e-05/0.338, allocations: 68.48 kB / 0.6122 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=246): time 4.097e-06/0.338, allocations: 0 / 0.6122 GB, free: 6.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=288): time 0.2224/0.5604, allocations: 33.61 MB / 0.6451 GB, free: 147.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.5604, allocations: 240.3 kB / 0.6453 GB, free: 147 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004595/0.565, allocations: 5.721 MB / 0.6509 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003551/0.5654, allocations: 68.02 kB / 0.6509 GB, free: 144.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001327/0.5667, allocations: 4.552 MB / 0.6554 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007363/0.5674, allocations: 1.133 MB / 0.6565 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001526/0.569, allocations: 1.774 MB / 0.6582 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.569, allocations: 305.1 kB / 0.6585 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003129/0.5721, allocations: 3.616 MB / 0.662 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004607/0.5767, allocations: 8.666 MB / 0.6705 GB, free: 130.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01111/0.5879, allocations: 13.15 MB / 0.6834 GB, free: 120 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001187/0.588, allocations: 50.38 kB / 0.6834 GB, free: 120 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.01596/0.6039, allocations: 13.94 MB / 0.697 GB, free: 115 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.183e-05/0.604, allocations: 83.25 kB / 0.6971 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.975e-05/0.6041, allocations: 179.1 kB / 0.6973 GB, free: 115 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003228/0.6073, allocations: 2.261 MB / 0.6995 GB, free: 114.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003209/0.6105, allocations: 2.017 MB / 0.7014 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.6206, allocations: 13.92 MB / 0.715 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004489/0.625, allocations: 0.5663 MB / 0.7156 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004431/0.6255, allocations: 0.5141 MB / 0.7161 GB, free: 102.8 MB / 0.5261 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.003758/0.6292, allocations: 2.979 MB / 0.719 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008731/0.6301, allocations: 492.7 kB / 0.7195 GB, free: 99.73 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006929/0.637, allocations: 7.109 MB / 0.7264 GB, free: 94.12 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.04e-05/0.6371, allocations: 32 kB / 0.7265 GB, free: 94.09 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/0.6371, allocations: 8 kB / 0.7265 GB, free: 94.08 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/0.6371, allocations: 15.09 kB / 0.7265 GB, free: 94.08 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/0.6513, allocations: 13.43 MB / 0.7396 GB, free: 81.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/0.6514, allocations: 4 kB / 0.7396 GB, free: 81.79 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.6525, allocations: 491.3 kB / 0.7401 GB, free: 81.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002606/0.6551, allocations: 2.017 MB / 0.742 GB, free: 79.29 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001511/0.6553, allocations: 56 kB / 0.7421 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009177/0.6645, allocations: 13.3 MB / 0.7551 GB, free: 65.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.6645, allocations: 7.938 kB / 0.7551 GB, free: 65.74 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00958/0.674, allocations: 11.38 MB / 0.7662 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.6752, allocations: 496.5 kB / 0.7667 GB, free: 53.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.6756, allocations: 52 kB / 0.7667 GB, free: 53.67 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001303/0.6769, allocations: 255.6 kB / 0.767 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003188/0.6772, allocations: 193.5 kB / 0.7671 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001436/0.6774, allocations: 72 kB / 0.7672 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.003226/0.6806, allocations: 3.373 MB / 0.7705 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2e-07/0.6806, allocations: 0 / 0.7705 GB, free: 49.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005417/0.686, allocations: 1.754 MB / 0.7722 GB, free: 48.05 MB / 0.5261 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.0004243/0.6864, allocations: 211 kB / 0.7724 GB, free: 47.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007303/0.6937, allocations: 8.395 MB / 0.7806 GB, free: 39.45 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.6937, allocations: 384 / 0.7806 GB, free: 39.45 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00274/0.6965, allocations: 3.26 MB / 0.7838 GB, free: 36.17 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002026/0.6985, allocations: 0.6028 MB / 0.7844 GB, free: 35.6 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.7128, allocations: 15.47 MB / 0.7995 GB, free: 20.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002763/0.7155, allocations: 4.021 MB / 0.8034 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001202/0.7167, allocations: 408.4 kB / 0.8038 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of SimCode: time 1.423e-06/0.7168, allocations: 7.938 kB / 0.8038 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of Templates: time 0.2695/0.9863, allocations: 142.4 MB / 0.9429 GB, free: 103.8 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.364548691548407]