Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 71.77 kB / 21.69 MB, free: 2.855 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 167.3 kB / 24.99 MB, free: 8.746 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9468/0.9468, allocations: 177.1 MB / 205.3 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2466/0.2466, allocations: 34.26 MB / 296 MB, free: 0.7695 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 378 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.563e-05/1.693e-05, allocations: 2.312 kB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01179/0.01181, allocations: 14.94 MB / 393 MB, free: 3.941 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008392/0.0202, allocations: 4.855 MB / 397.8 MB, free: 15.07 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00147/0.02167, allocations: 123.4 kB / 398 MB, free: 14.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004972/0.02664, allocations: 5.362 MB / 403.3 MB, free: 9.574 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.03047, allocations: 2.64 MB / 406 MB, free: 6.922 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001525/0.032, allocations: 1.224 MB / 407.2 MB, free: 5.695 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.006139/0.03814, allocations: 7.654 MB / 414.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003478/0.04161, allocations: 5.146 MB / 420 MB, free: 8.801 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003185/0.0448, allocations: 3.672 MB / 423.6 MB, free: 5.121 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002856/0.04765, allocations: 3.535 MB / 427.2 MB, free: 1.578 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005714/0.04823, allocations: 0.5156 MB / 427.7 MB, free: 1.062 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.05005, allocations: 1.365 MB / 429.1 MB, free: 15.7 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001876/0.05193, allocations: 3.218 MB / 432.3 MB, free: 12.47 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001632/0.05356, allocations: 1.982 MB / 434.3 MB, free: 10.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005843/0.0594, allocations: 6.714 MB / 441 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.05941, allocations: 0 / 441 MB, free: 3.742 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.05941, allocations: 0 / 441 MB, free: 3.742 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.884e-05/0.05949, allocations: 0 / 441 MB, free: 3.742 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.1636/0.2231, allocations: 8.036 MB / 449 MB, free: 100.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.2231, allocations: 8.656 kB / 449 MB, free: 100.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01033/0.2335, allocations: 3.383 MB / 452.4 MB, free: 99.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005401/0.2389, allocations: 3.784 MB / 456.2 MB, free: 98.07 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.2391, allocations: 357.2 kB / 456.5 MB, free: 97.95 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007873/0.2399, allocations: 482.6 kB / 457 MB, free: 97.83 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01198/0.2518, allocations: 9.15 MB / 466.2 MB, free: 92.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001687/0.252, allocations: 69.72 kB / 466.2 MB, free: 92.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005208/0.2525, allocations: 229.3 kB / 466.5 MB, free: 92.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002582/0.2551, allocations: 2.75 MB / 469.2 MB, free: 91.95 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.2672, allocations: 5.202 MB / 474.4 MB, free: 91.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04752/0.3148, allocations: 61.96 MB / 0.5238 GB, free: 35.88 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008686/0.3234, allocations: 3.995 MB / 0.5277 GB, free: 31.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.3252, allocations: 1.174 MB / 0.5288 GB, free: 30.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007223/0.3324, allocations: 5.748 MB / 0.5345 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/0.3324, allocations: 67.39 kB / 0.5345 GB, free: 24.83 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 5.5e-06/0.3324, allocations: 0 / 0.5345 GB, free: 24.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=288): time 0.04356/0.376, allocations: 24.12 MB / 0.5581 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.154e-05/0.376, allocations: 243.6 kB / 0.5583 GB, free: 324 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005334/0.3814, allocations: 5.027 MB / 0.5632 GB, free: 11.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007563/0.3821, allocations: 73.7 kB / 0.5633 GB, free: 11.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/0.3847, allocations: 4.771 MB / 0.5679 GB, free: 6.398 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001492/0.3861, allocations: 1.186 MB / 0.5691 GB, free: 5.203 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001896/0.388, allocations: 1.91 MB / 0.571 GB, free: 3.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.3882, allocations: 484.7 kB / 0.5714 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002048/0.3902, allocations: 1.141 MB / 0.5725 GB, free: 1.645 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005049/0.3953, allocations: 8.589 MB / 0.5809 GB, free: 5.668 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009541/0.4048, allocations: 10.69 MB / 0.5914 GB, free: 7.629 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/0.405, allocations: 52 kB / 0.5914 GB, free: 7.578 MB / 458.7 MB Notification: Performance of matching and sorting (n=1138) (initialization): time 0.1686/0.5736, allocations: 8.858 MB / 0.6001 GB, free: 119.5 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.5737, allocations: 82.81 kB / 0.6001 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002187/0.5739, allocations: 176.4 kB / 0.6003 GB, free: 119.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003434/0.5774, allocations: 1.467 MB / 0.6017 GB, free: 119.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003966/0.5813, allocations: 2.016 MB / 0.6037 GB, free: 119.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007249/0.5886, allocations: 7.592 MB / 0.6111 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005383/0.594, allocations: 0.5558 MB / 0.6117 GB, free: 115.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001213/0.5952, allocations: 0.5123 MB / 0.6122 GB, free: 115.3 MB / 458.7 MB 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.00229/0.5975, allocations: 0.8697 MB / 0.613 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009736/0.5985, allocations: 0.5624 MB / 0.6136 GB, free: 115 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005462/0.6039, allocations: 3.642 MB / 0.6171 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.038e-05/0.6039, allocations: 31.38 kB / 0.6172 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-05/0.604, allocations: 9.219 kB / 0.6172 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.912e-05/0.604, allocations: 13.64 kB / 0.6172 GB, free: 114.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01407/0.6181, allocations: 9.32 MB / 0.6263 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.6181, allocations: 10.06 kB / 0.6263 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001315/0.6194, allocations: 485.9 kB / 0.6268 GB, free: 113.3 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002831/0.6222, allocations: 1.242 MB / 0.628 GB, free: 113.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003739/0.6226, allocations: 54.31 kB / 0.628 GB, free: 113.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007171/0.6298, allocations: 7.148 MB / 0.635 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/0.6298, allocations: 12.2 kB / 0.635 GB, free: 108.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00928/0.6391, allocations: 5.142 MB / 0.64 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001291/0.6403, allocations: 495.3 kB / 0.6405 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006061/0.641, allocations: 53.12 kB / 0.6406 GB, free: 106.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001639/0.6426, allocations: 259 kB / 0.6408 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005147/0.6431, allocations: 188.8 kB / 0.641 GB, free: 106.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/0.6433, allocations: 78.48 kB / 0.6411 GB, free: 106.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003279/0.6466, allocations: 2.18 MB / 0.6432 GB, free: 105.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.6466, allocations: 0 / 0.6432 GB, free: 105.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006351/0.6529, allocations: 1.75 MB / 0.6449 GB, free: 105.3 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 (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.0005866/0.6535, allocations: 208.6 kB / 0.6451 GB, free: 105.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008075/0.6616, allocations: 5.015 MB / 0.65 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.6616, allocations: 0 / 0.65 GB, free: 103.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002934/0.6645, allocations: 1.976 MB / 0.6519 GB, free: 102.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/0.6676, allocations: 0.6214 MB / 0.6525 GB, free: 102.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/0.684, allocations: 11.84 MB / 0.6641 GB, free: 91.93 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001798/0.6858, allocations: 1.865 MB / 0.6659 GB, free: 90.59 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004498/0.6903, allocations: 2.229 MB / 0.6681 GB, free: 89.15 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/0.6914, allocations: 347.2 kB / 0.6684 GB, free: 88.81 MB / 458.7 MB Notification: Performance of SimCode: time 2.004e-06/0.6914, allocations: 4 kB / 0.6684 GB, free: 88.81 MB / 458.7 MB Notification: Performance of Templates: time 0.08651/0.7779, allocations: 57.69 MB / 0.7248 GB, free: 31.79 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.043685405980796]