Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.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.00102/0.00102, allocations: 80.8 kB / 21.5 MB, free: 2.988 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.001145/0.001145, allocations: 170.2 kB / 24.91 MB, free: 9.199 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.9849/0.9849, allocations: 177.1 MB / 205.3 MB, free: 5.148 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.2753/0.2753, allocations: 34.26 MB / 296.1 MB, free: 0.6953 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.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape") translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|freeMotion.Q.[0-9,]+.|freeMotion.r_rel_a.[0-9,]+.|freeMotion.v_rel_a.[0-9,]+.|freeMotion.w_rel_b.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 325.3 MB, free: 7.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.167e-05/2.339e-05, allocations: 5.438 kB / 325.3 MB, free: 7.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.BodyShape): time 0.008086/0.008109, allocations: 10.4 MB / 335.7 MB, free: 13.23 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006794/0.0149, allocations: 4.133 MB / 339.8 MB, free: 9.09 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001455/0.01636, allocations: 79.62 kB / 339.9 MB, free: 9.012 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.01939, allocations: 2.709 MB / 342.6 MB, free: 6.293 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003914/0.0233, allocations: 1.866 MB / 344.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.02468, allocations: 0.799 MB / 345.3 MB, free: 3.617 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004936/0.02962, allocations: 4.928 MB / 350.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003839/0.03345, allocations: 3.148 MB / 353.3 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00354/0.03699, allocations: 2.3 MB / 355.6 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002889/0.03988, allocations: 2.19 MB / 357.8 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007854/0.04067, allocations: 324 kB / 358.1 MB, free: 6.629 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001742/0.04241, allocations: 1.213 MB / 359.3 MB, free: 5.414 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.04399, allocations: 2.045 MB / 361.4 MB, free: 3.363 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001715/0.0457, allocations: 1.254 MB / 362.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004584/0.05029, allocations: 4.464 MB / 367.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.05029, allocations: 4 kB / 367.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.05029, allocations: 0 / 367.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001773/0.05047, allocations: 0 / 367.1 MB, free: 13.62 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1449 * Number of variables: 1449 Notification: Performance of Generate backend data structure: time 0.005449/0.05592, allocations: 4.32 MB / 371.4 MB, free: 9.254 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.05596, allocations: 12.03 kB / 371.4 MB, free: 9.242 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002791/0.05875, allocations: 1.117 MB / 372.6 MB, free: 8.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.06113, allocations: 1.794 MB / 374.4 MB, free: 6.273 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001256/0.06126, allocations: 234.4 kB / 374.6 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005511/0.06181, allocations: 400.2 kB / 375 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006267/0.06808, allocations: 4.929 MB / 379.9 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.191e-05/0.06817, allocations: 43.75 kB / 379.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002466/0.06841, allocations: 151.9 kB / 380.1 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001309/0.06972, allocations: 1.584 MB / 381.7 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005133/0.07486, allocations: 2.597 MB / 384.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02357/0.09842, allocations: 30.05 MB / 414.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.1021, allocations: 1.823 MB / 416.1 MB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000484/0.1026, allocations: 386.6 kB / 416.5 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00551/0.1081, allocations: 4.05 MB / 420.6 MB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.1082, allocations: 47.56 kB / 420.6 MB, free: 6.074 MB / 394.7 MB Notification: Performance of pre-optimization done (n=144): time 4.518e-06/0.1082, allocations: 0 / 420.6 MB, free: 6.074 MB / 394.7 MB Notification: Performance of matching and sorting (n=160): time 0.014/0.1222, allocations: 6.072 MB / 426.7 MB, free: 15.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0007573/0.1229, allocations: 1.468 MB / 428.2 MB, free: 14.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002588/0.1255, allocations: 3.074 MB / 431.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.1257, allocations: 49.7 kB / 431.3 MB, free: 11.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.1268, allocations: 2.963 MB / 434.2 MB, free: 8.223 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004845/0.1273, allocations: 0.6747 MB / 434.9 MB, free: 7.543 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008926/0.1282, allocations: 1.132 MB / 436.1 MB, free: 6.398 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.393e-05/0.1283, allocations: 305.1 kB / 436.4 MB, free: 6.098 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/0.1294, allocations: 0.797 MB / 437.2 MB, free: 5.293 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.1319, allocations: 4.351 MB / 441.5 MB, free: 15.09 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004261/0.1362, allocations: 5.769 MB / 447.3 MB, free: 7.465 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.168e-05/0.1362, allocations: 40 kB / 447.3 MB, free: 7.426 MB / 426.7 MB Notification: Performance of matching and sorting (n=780) (initialization): time 0.007776/0.144, allocations: 4.576 MB / 451.9 MB, free: 2.816 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.1441, allocations: 60 kB / 451.9 MB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003292/0.1474, allocations: 1.074 MB / 453 MB, free: 1.672 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003263/0.1506, allocations: 0.6268 MB / 453.6 MB, free: 1.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1577/0.3083, allocations: 1.379 MB / 455 MB, free: 119.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003698/0.312, allocations: 3.134 MB / 458.2 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003218/0.3152, allocations: 271.2 kB / 458.4 MB, free: 117 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005109/0.3157, allocations: 321.8 kB / 458.7 MB, free: 117 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (742): * Single equations (assignments): 733 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001339/0.3171, allocations: 0.611 MB / 459.3 MB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000449/0.3175, allocations: 207.6 kB / 459.6 MB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003276/0.3179, allocations: 353.9 kB / 459.9 MB, free: 116.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001483/0.3193, allocations: 0.7676 MB / 460.7 MB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/0.3193, allocations: 6.234 kB / 460.7 MB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.203e-05/0.3194, allocations: 8.984 kB / 460.7 MB, free: 116.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00641/0.3258, allocations: 4.509 MB / 465.2 MB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.3258, allocations: 3.531 kB / 465.2 MB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.3264, allocations: 239.2 kB / 465.4 MB, free: 116.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.3277, allocations: 0.5715 MB / 466 MB, free: 116 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001018/0.3278, allocations: 52.36 kB / 466 MB, free: 116 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.3295, allocations: 2.847 MB / 468.9 MB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003847/0.3298, allocations: 1.349 MB / 470.2 MB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002474/0.3323, allocations: 2.152 MB / 472.4 MB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000449/0.3328, allocations: 311.1 kB / 472.7 MB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.333, allocations: 33.83 kB / 472.7 MB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006441/0.3337, allocations: 32.7 kB / 472.8 MB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/0.3338, allocations: 110.8 kB / 472.9 MB, free: 111.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.278e-05/0.3339, allocations: 43.02 kB / 472.9 MB, free: 111.5 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001043/0.335, allocations: 1.112 MB / 474 MB, free: 111.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.335, allocations: 0 / 474 MB, free: 111.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003108/0.3381, allocations: 1.113 MB / 475.1 MB, free: 111.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * 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 (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003591/0.3384, allocations: 157.9 kB / 475.3 MB, free: 111.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003809/0.3422, allocations: 2.912 MB / 478.2 MB, free: 110.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001428/0.3424, allocations: 97.28 kB / 478.3 MB, free: 110 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001187/0.3436, allocations: 0.901 MB / 479.2 MB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002094/0.3457, allocations: 0.6214 MB / 479.8 MB, free: 108.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008574/0.3542, allocations: 7.301 MB / 487.1 MB, free: 101.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00092/0.3552, allocations: 1.169 MB / 488.3 MB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001255/0.3564, allocations: 478.4 kB / 488.8 MB, free: 100.7 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007436/0.3571, allocations: 0.5362 MB / 489.3 MB, free: 100.1 MB / 426.7 MB Notification: Performance of SimCode: time 2.275e-06/0.3572, allocations: 0 / 489.3 MB, free: 100.1 MB / 426.7 MB Notification: Performance of Templates: time 0.04418/0.4013, allocations: 36.66 MB / 0.5136 GB, free: 63.91 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.BodyShape_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/BodyShape/BodyShape.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: 4.235108111053705]