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.001511/0.001511, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.002056/0.002056, allocations: 165.3 kB / 24.82 MB, free: 9.27 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 1.025/1.025, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.2858/0.2858, allocations: 34.26 MB / 296.1 MB, free: 0.6367 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.483e-06/1.483e-06, allocations: 0 / 378.5 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.471e-05/2.619e-05, allocations: 5.406 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01195/0.01198, allocations: 14.62 MB / 393.1 MB, free: 3.66 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.009957/0.02194, allocations: 4.824 MB / 398 MB, free: 14.82 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003164/0.0251, allocations: 127.4 kB / 398.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007725/0.03283, allocations: 5.288 MB / 403.4 MB, free: 9.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007605/0.04043, allocations: 2.659 MB / 406 MB, free: 6.719 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003073/0.0435, allocations: 1.22 MB / 407.3 MB, free: 5.496 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.01043/0.05393, allocations: 7.654 MB / 414.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007478/0.06141, allocations: 5.165 MB / 420.1 MB, free: 8.582 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009566/0.07098, allocations: 4.702 MB / 424.8 MB, free: 3.871 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005794/0.07677, allocations: 3.453 MB / 428.2 MB, free: 420 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001855/0.07863, allocations: 0.5118 MB / 428.7 MB, free: 15.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002981/0.08161, allocations: 1.354 MB / 430.1 MB, free: 14.54 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003427/0.08503, allocations: 3.195 MB / 433.3 MB, free: 11.34 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004492/0.08953, allocations: 1.974 MB / 435.3 MB, free: 9.359 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01023/0.09976, allocations: 6.703 MB / 442 MB, free: 2.633 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.756e-06/0.09977, allocations: 0 / 442 MB, free: 2.633 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.09977, allocations: 0 / 442 MB, free: 2.633 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003861/0.1002, allocations: 4 kB / 442 MB, free: 2.629 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.2103/0.3104, allocations: 7.712 MB / 449.7 MB, free: 94.65 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3105, allocations: 9.188 kB / 449.7 MB, free: 94.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006506/0.317, allocations: 2.378 MB / 452.1 MB, free: 94.19 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006369/0.3234, allocations: 3.224 MB / 455.3 MB, free: 93.31 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003283/0.3237, allocations: 358.2 kB / 455.6 MB, free: 93.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001493/0.3252, allocations: 484 kB / 456.1 MB, free: 93.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01393/0.3391, allocations: 8.076 MB / 464.2 MB, free: 88.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002239/0.3393, allocations: 66.03 kB / 464.3 MB, free: 88.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005429/0.3399, allocations: 231.4 kB / 464.5 MB, free: 88.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001896/0.3418, allocations: 2.358 MB / 466.8 MB, free: 87.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009863/0.3516, allocations: 3.613 MB / 470.4 MB, free: 87.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05344/0.4051, allocations: 61.73 MB / 0.5197 GB, free: 36.05 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008496/0.4136, allocations: 2.884 MB / 0.5225 GB, free: 34.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001519/0.4151, allocations: 0.6924 MB / 0.5232 GB, free: 33.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009578/0.4247, allocations: 5.309 MB / 0.5284 GB, free: 28.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/0.4247, allocations: 62.47 kB / 0.5284 GB, free: 28.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 5.991e-06/0.4247, allocations: 0 / 0.5284 GB, free: 28.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=199): time 0.02781/0.4525, allocations: 9.276 MB / 0.5375 GB, free: 20.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.604e-05/0.4526, allocations: 227.1 kB / 0.5377 GB, free: 19.75 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005592/0.4582, allocations: 5.277 MB / 0.5429 GB, free: 14.49 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005092/0.4587, allocations: 61.7 kB / 0.5429 GB, free: 14.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00206/0.4608, allocations: 5.033 MB / 0.5478 GB, free: 9.352 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001219/0.462, allocations: 0.8765 MB / 0.5487 GB, free: 8.469 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001693/0.4637, allocations: 1.904 MB / 0.5506 GB, free: 6.543 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.4637, allocations: 476.8 kB / 0.551 GB, free: 6.074 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001362/0.4651, allocations: 0.8013 MB / 0.5518 GB, free: 5.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/0.4703, allocations: 8.816 MB / 0.5604 GB, free: 8.793 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01097/0.4813, allocations: 10.49 MB / 0.5707 GB, free: 10.71 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002952/0.4816, allocations: 55.94 kB / 0.5707 GB, free: 10.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=1116) (initialization): time 0.0177/0.4993, allocations: 7.059 MB / 0.5776 GB, free: 3.586 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/0.4994, allocations: 91.98 kB / 0.5777 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002641/0.4997, allocations: 188 kB / 0.5779 GB, free: 3.312 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002205/0.5019, allocations: 0.609 MB / 0.5785 GB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005588/0.5075, allocations: 1.91 MB / 0.5803 GB, free: 0.7812 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006528/0.514, allocations: 5.374 MB / 0.5856 GB, free: 11.18 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006382/0.5204, allocations: 375.7 kB / 0.5859 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00147/0.5219, allocations: 460 kB / 0.5864 GB, free: 10.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * 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 (1064): * Single equations (assignments): 1057 * 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,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003297/0.5252, allocations: 0.8709 MB / 0.5872 GB, free: 9.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/0.5267, allocations: 0.5357 MB / 0.5878 GB, free: 8.941 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/0.5303, allocations: 1.552 MB / 0.5893 GB, free: 7.371 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.062e-05/0.5303, allocations: 24 kB / 0.5893 GB, free: 7.348 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-05/0.5303, allocations: 7.938 kB / 0.5893 GB, free: 7.34 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.5303, allocations: 7.969 kB / 0.5893 GB, free: 7.332 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01744/0.5478, allocations: 6.826 MB / 0.596 GB, free: 332 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.35e-05/0.5478, allocations: 8 kB / 0.596 GB, free: 324 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.5489, allocations: 287.6 kB / 0.5963 GB, free: 36 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001601/0.5505, allocations: 363.4 kB / 0.5966 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001873/0.5506, allocations: 44 kB / 0.5966 GB, free: 15.63 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005299/0.5559, allocations: 5 MB / 0.6015 GB, free: 10.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.167e-06/0.556, allocations: 11.94 kB / 0.6015 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.5614, allocations: 2.976 MB / 0.6044 GB, free: 7.273 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/0.5637, allocations: 472.5 kB / 0.6049 GB, free: 6.809 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001047/0.5647, allocations: 43.94 kB / 0.6049 GB, free: 6.766 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/0.566, allocations: 43.94 kB / 0.605 GB, free: 6.723 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002956/0.5663, allocations: 136.7 kB / 0.6051 GB, free: 6.59 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.5664, allocations: 51.98 kB / 0.6052 GB, free: 6.539 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003985/0.5704, allocations: 2.11 MB / 0.6072 GB, free: 4.449 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5704, allocations: 0 / 0.6072 GB, free: 4.449 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007846/0.5783, allocations: 1.5 MB / 0.6087 GB, free: 2.949 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (164): * Single equations (assignments): 159 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006903/0.5789, allocations: 190.8 kB / 0.6089 GB, free: 2.754 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.189/0.768, allocations: 3.978 MB / 0.6127 GB, free: 135.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/0.768, allocations: 4.5 kB / 0.6128 GB, free: 135.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.7698, allocations: 1.007 MB / 0.6137 GB, free: 134.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004155/0.774, allocations: 0.6082 MB / 0.6143 GB, free: 134.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02142/0.7954, allocations: 10.95 MB / 0.625 GB, free: 130.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003024/0.7984, allocations: 1.791 MB / 0.6268 GB, free: 129.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002607/0.801, allocations: 0.6869 MB / 0.6274 GB, free: 129.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001348/0.8024, allocations: 0.7868 MB / 0.6282 GB, free: 129.6 MB / 474.7 MB Notification: Performance of SimCode: time 2.755e-06/0.8024, allocations: 0 / 0.6282 GB, free: 129.6 MB / 474.7 MB Notification: Performance of Templates: time 0.08106/0.8834, allocations: 45.34 MB / 0.6725 GB, free: 112.2 MB / 474.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.55500236293301]