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.002085/0.002085, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002519/0.002519, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 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 1.578/1.578, allocations: 177 MB / 204.5 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3635/0.3635, allocations: 34.24 MB / 295.2 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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 1.764e-06/1.764e-06, allocations: 0 / 377.2 MB, free: 2.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.213e-05, allocations: 7.859 kB / 377.2 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01934/0.01937, allocations: 13.49 MB / 390.7 MB, free: 5.348 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01198/0.03136, allocations: 4.749 MB / 395.5 MB, free: 0.582 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.03415, allocations: 123.4 kB / 395.6 MB, free: 472 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0114/0.04555, allocations: 5.202 MB / 400.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008012/0.05356, allocations: 2.636 MB / 403.4 MB, free: 8.594 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00331/0.05687, allocations: 1.224 MB / 404.6 MB, free: 7.367 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01218/0.06905, allocations: 7.656 MB / 412.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009021/0.07807, allocations: 5.134 MB / 417.4 MB, free: 10.48 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007537/0.08561, allocations: 3.629 MB / 421.1 MB, free: 6.844 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006478/0.09209, allocations: 3.464 MB / 424.5 MB, free: 3.371 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001644/0.09373, allocations: 0.5195 MB / 425 MB, free: 2.852 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003649/0.09738, allocations: 1.369 MB / 426.4 MB, free: 1.48 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004854/0.1022, allocations: 3.199 MB / 429.6 MB, free: 14.27 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004653/0.1069, allocations: 1.974 MB / 431.6 MB, free: 12.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.1229, allocations: 10.53 MB / 442.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1229, allocations: 0 / 442.1 MB, free: 1.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1229, allocations: 4 kB / 442.1 MB, free: 1.73 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003431/0.1233, allocations: 0 / 442.1 MB, free: 1.73 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.1643/0.2876, allocations: 7.596 MB / 449.7 MB, free: 97.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.2876, allocations: 8.906 kB / 449.7 MB, free: 97.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01344/0.3011, allocations: 3.448 MB / 453.2 MB, free: 97.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008658/0.3097, allocations: 4.219 MB / 457.4 MB, free: 95.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002448/0.31, allocations: 352.7 kB / 457.7 MB, free: 95.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.3114, allocations: 478.7 kB / 458.2 MB, free: 95.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.3341, allocations: 14.83 MB / 473 MB, free: 88.42 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002863/0.3344, allocations: 69.58 kB / 473.1 MB, free: 88.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00103/0.3354, allocations: 229.3 kB / 473.3 MB, free: 88.26 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004967/0.3404, allocations: 2.751 MB / 476.1 MB, free: 87.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02561/0.366, allocations: 12.54 MB / 488.6 MB, free: 81.53 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05369/0.4197, allocations: 55.14 MB / 0.531 GB, free: 26.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01529/0.435, allocations: 6.019 MB / 0.5369 GB, free: 19.96 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003915/0.4389, allocations: 3.636 MB / 0.5404 GB, free: 16.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/0.4515, allocations: 8.14 MB / 0.5484 GB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.841e-05/0.4515, allocations: 60.5 kB / 0.5484 GB, free: 8.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=251): time 5.471e-06/0.4515, allocations: 0 / 0.5484 GB, free: 8.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=293): time 0.09704/0.5486, allocations: 34.72 MB / 0.5824 GB, free: 5.242 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002266/0.5488, allocations: 247.9 kB / 0.5826 GB, free: 4.953 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009921/0.5587, allocations: 5.728 MB / 0.5882 GB, free: 15.22 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007899/0.5595, allocations: 69.64 kB / 0.5883 GB, free: 15.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004803/0.5643, allocations: 4.539 MB / 0.5927 GB, free: 10.57 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00215/0.5664, allocations: 1.147 MB / 0.5938 GB, free: 9.418 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003775/0.5702, allocations: 1.77 MB / 0.5955 GB, free: 7.633 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.5704, allocations: 305.1 kB / 0.5958 GB, free: 7.332 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006697/0.5771, allocations: 3.687 MB / 0.5994 GB, free: 3.637 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1669/0.744, allocations: 8.713 MB / 0.6079 GB, free: 123.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01336/0.7574, allocations: 13.24 MB / 0.6209 GB, free: 114.1 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002762/0.7577, allocations: 53.31 kB / 0.6209 GB, free: 114.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=1140) (initialization): time 0.02442/0.7821, allocations: 14.54 MB / 0.6351 GB, free: 109.1 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002526/0.7823, allocations: 78.97 kB / 0.6352 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003783/0.7827, allocations: 175.7 kB / 0.6354 GB, free: 109.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006482/0.7892, allocations: 2.474 MB / 0.6378 GB, free: 108.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007154/0.7963, allocations: 2.031 MB / 0.6398 GB, free: 108.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01715/0.8135, allocations: 14.09 MB / 0.6535 GB, free: 101.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007207/0.8207, allocations: 0.5872 MB / 0.6541 GB, free: 101.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001572/0.8223, allocations: 0.5115 MB / 0.6546 GB, free: 101.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * 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 {(3,22,100.0%), (2,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005713/0.828, allocations: 2.977 MB / 0.6575 GB, free: 100.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001726/0.8297, allocations: 0.5687 MB / 0.6581 GB, free: 100 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0133/0.843, allocations: 7.274 MB / 0.6652 GB, free: 97.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.295e-05/0.8431, allocations: 34.11 kB / 0.6652 GB, free: 97.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.263e-05/0.8431, allocations: 8.562 kB / 0.6652 GB, free: 97.49 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.466e-05/0.8432, allocations: 13.22 kB / 0.6652 GB, free: 97.49 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0233/0.8665, allocations: 13.74 MB / 0.6786 GB, free: 86.32 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.938e-05/0.8665, allocations: 4.031 kB / 0.6786 GB, free: 86.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002286/0.8688, allocations: 0.5073 MB / 0.6791 GB, free: 85.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005512/0.8743, allocations: 2.214 MB / 0.6813 GB, free: 84.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005963/0.8749, allocations: 54.58 kB / 0.6814 GB, free: 84.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/0.89, allocations: 13.54 MB / 0.6946 GB, free: 70.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.89, allocations: 11.94 kB / 0.6946 GB, free: 70.79 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01736/0.9074, allocations: 11.73 MB / 0.706 GB, free: 59.2 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/0.9093, allocations: 0.4987 MB / 0.7065 GB, free: 58.73 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001641/0.9109, allocations: 53.95 kB / 0.7066 GB, free: 58.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003867/0.9148, allocations: 275.6 kB / 0.7068 GB, free: 58.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009065/0.9157, allocations: 189.5 kB / 0.707 GB, free: 58.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004608/0.9162, allocations: 81.08 kB / 0.7071 GB, free: 58.16 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005774/0.922, allocations: 3.385 MB / 0.7104 GB, free: 54.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.922, allocations: 0 / 0.7104 GB, free: 54.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008939/0.9309, allocations: 1.743 MB / 0.7121 GB, free: 53.05 MB / 458.7 MB 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 (235): * Single equations (assignments): 230 * 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,18,75.0%), (4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001127/0.932, allocations: 211.4 kB / 0.7123 GB, free: 52.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01289/0.9449, allocations: 8.633 MB / 0.7207 GB, free: 44.22 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.141e-05/0.9449, allocations: 1.938 kB / 0.7207 GB, free: 44.22 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00564/0.9506, allocations: 3.341 MB / 0.724 GB, free: 40.86 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00582/0.9564, allocations: 0.6301 MB / 0.7246 GB, free: 40.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/0.9823, allocations: 15.14 MB / 0.7394 GB, free: 24.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00706/0.9894, allocations: 4.051 MB / 0.7434 GB, free: 20.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006582/0.996, allocations: 2.682 MB / 0.746 GB, free: 18.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001978/0.9979, allocations: 352.4 kB / 0.7463 GB, free: 17.87 MB / 458.7 MB Notification: Performance of SimCode: time 1.623e-06/0.9979, allocations: 0 / 0.7463 GB, free: 17.87 MB / 458.7 MB Notification: Performance of Templates: time 0.2941/1.292, allocations: 58.29 MB / 0.8032 GB, free: 124 MB / 474.7 MB " [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: 8.386164471041411]