Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.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.001028/0.001028, allocations: 89.05 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001528/0.002556, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 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.0009218/0.0009218, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007915/0.008836, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9937/0.9937, allocations: 158.6 MB / 171.2 MB, free: 2.504 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1965/1.19, allocations: 49.5 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1948/0.1948, allocations: 32.36 MB / 253.8 MB, free: 228 kB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03204/0.2269, allocations: 12.31 MB / 266.1 MB, free: 3.871 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") translateModel(ModelicaTest.MultiBody.Parts.FixedRotation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|fixedRotation.frame_b.r_0.[0-9,]+.|fixedRotation.frame_b.f.[0-9,]+.|fixedRotation.frame_b.t.[0-9,]+.|fixedRotation1.frame_b.r_0.[0-9,]+.|fixedRotation1.frame_b.f.[0-9,]+.|fixedRotation1.frame_b.t.[0-9,]+.|fixedRotation2.frame_b.r_0.[0-9,]+.|fixedRotation2.frame_b.f.[0-9,]+.|fixedRotation2.frame_b.t.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 267.4 MB, free: 2.535 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.452e-05/3.638e-05, allocations: 10.19 kB / 267.4 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01921/0.01924, allocations: 16.06 MB / 283.5 MB, free: 2.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.1878/0.2071, allocations: 3.997 MB / 287.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003888/0.211, allocations: 113.8 kB / 287.6 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004918/0.2159, allocations: 2.292 MB / 289.9 MB, free: 1.637 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008013/0.2239, allocations: 2.729 MB / 292.6 MB, free: 1.328 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.2252, allocations: 314 kB / 292.9 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0127/0.2379, allocations: 6.224 MB / 299.1 MB, free: 32 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008394/0.2463, allocations: 3.064 MB / 302.2 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.2566, allocations: 3.218 MB / 305.4 MB, free: 12.89 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006429/0.263, allocations: 2.762 MB / 308.2 MB, free: 11.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001969/0.265, allocations: 389 kB / 308.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.268, allocations: 0.8499 MB / 309.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003394/0.2714, allocations: 2.697 MB / 312.1 MB, free: 7.93 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004083/0.2755, allocations: 1.42 MB / 313.5 MB, free: 6.504 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009666/0.2852, allocations: 6.365 MB / 319.9 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.706e-05/0.2852, allocations: 0 / 319.9 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2852, allocations: 0 / 319.9 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0004523/0.2856, allocations: 0 / 319.9 MB, free: 0.6016 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.01437/0.3, allocations: 8.016 MB / 327.9 MB, free: 9.215 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.3001, allocations: 8.031 kB / 327.9 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007795/0.3079, allocations: 2.521 MB / 330.4 MB, free: 6.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006159/0.314, allocations: 2.525 MB / 333 MB, free: 4.273 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002556/0.3143, allocations: 326.5 kB / 333.3 MB, free: 4.039 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001075/0.3154, allocations: 417.6 kB / 333.7 MB, free: 3.719 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01677/0.3321, allocations: 8.006 MB / 341.7 MB, free: 11.7 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.3323, allocations: 35.62 kB / 341.7 MB, free: 11.67 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007761/0.333, allocations: 207.6 kB / 341.9 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005615/0.3386, allocations: 3.973 MB / 345.9 MB, free: 7.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01704/0.3557, allocations: 4.701 MB / 350.6 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07116/0.4268, allocations: 44.58 MB / 395.2 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00937/0.4362, allocations: 3.209 MB / 398.4 MB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/0.4375, allocations: 0.5513 MB / 399 MB, free: 1.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01223/0.4498, allocations: 6.337 MB / 405.3 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.784e-05/0.4498, allocations: 56.56 kB / 405.3 MB, free: 11.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=321): time 8.796e-06/0.4498, allocations: 0 / 405.3 MB, free: 11.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=321): time 0.008453/0.4583, allocations: 3.354 MB / 408.7 MB, free: 7.711 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.382e-05/0.4584, allocations: 103 kB / 408.8 MB, free: 7.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005944/0.4643, allocations: 3.826 MB / 412.6 MB, free: 3.746 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005844/0.4649, allocations: 65.7 kB / 412.7 MB, free: 3.676 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003465/0.4684, allocations: 5.119 MB / 417.8 MB, free: 14.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002115/0.4705, allocations: 1.221 MB / 419 MB, free: 13.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00257/0.4731, allocations: 1.776 MB / 420.8 MB, free: 11.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.544e-05/0.4731, allocations: 309.1 kB / 421.1 MB, free: 11.18 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.4746, allocations: 1.024 MB / 422.1 MB, free: 10.14 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004846/0.4795, allocations: 6.369 MB / 428.5 MB, free: 1.012 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.4896, allocations: 9.129 MB / 437.6 MB, free: 5.113 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002264/0.4898, allocations: 56 kB / 437.7 MB, free: 5.059 MB / 426.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.01256/0.5024, allocations: 6.093 MB / 443.8 MB, free: 14.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.5025, allocations: 89 kB / 443.9 MB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002718/0.5028, allocations: 220 kB / 444.1 MB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001962/0.503, allocations: 267.9 kB / 444.3 MB, free: 14.39 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005319/0.5083, allocations: 2.285 MB / 446.6 MB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002943/0.5086, allocations: 390.5 kB / 447 MB, free: 11.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006416/0.515, allocations: 1.21 MB / 448.2 MB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001626/0.5166, allocations: 492 kB / 448.7 MB, free: 10.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 898 * Number of states: 0 () * Number of discrete variables: 33 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1170): * Single equations (assignments): 1158 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004463/0.5211, allocations: 0.8627 MB / 449.6 MB, free: 9.148 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000598/0.5217, allocations: 287.7 kB / 449.8 MB, free: 8.867 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008698/0.5226, allocations: 0.5105 MB / 450.4 MB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.747e-05/0.5226, allocations: 43.98 kB / 450.4 MB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/0.5227, allocations: 0 / 450.4 MB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.5227, allocations: 11.95 kB / 450.4 MB, free: 8.297 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009912/0.5326, allocations: 5.522 MB / 455.9 MB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.399e-05/0.5326, allocations: 31.98 kB / 456 MB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001415/0.5341, allocations: 395.5 kB / 456.3 MB, free: 2.105 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.5351, allocations: 448.2 kB / 456.8 MB, free: 1.664 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.155e-05/0.5352, allocations: 20 kB / 456.8 MB, free: 1.645 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.5353, allocations: 63.97 kB / 456.9 MB, free: 1.582 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.996e-05/0.5353, allocations: 31.86 kB / 456.9 MB, free: 1.551 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/0.5353, allocations: 19.94 kB / 456.9 MB, free: 1.531 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2059/0.7412, allocations: 1.843 MB / 458.8 MB, free: 141.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007848/0.742, allocations: 57.48 kB / 458.8 MB, free: 141.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007973/0.7428, allocations: 48.06 kB / 458.9 MB, free: 141.6 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002783/0.7431, allocations: 184.6 kB / 459 MB, free: 141.6 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/0.7432, allocations: 80.8 kB / 459.1 MB, free: 141.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002194/0.7454, allocations: 1.492 MB / 460.6 MB, free: 141.4 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7454, allocations: 0 / 460.6 MB, free: 141.4 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006008/0.7514, allocations: 2.084 MB / 462.7 MB, free: 141.3 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * 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 (225): * Single equations (assignments): 213 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004195/0.7518, allocations: 188.2 kB / 462.9 MB, free: 141.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006043/0.7579, allocations: 3.796 MB / 466.7 MB, free: 140.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0003528/0.7582, allocations: 138.8 kB / 466.8 MB, free: 140.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001362/0.7596, allocations: 0.8532 MB / 467.7 MB, free: 140.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003084/0.7627, allocations: 2.192 MB / 469.9 MB, free: 139.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/0.7809, allocations: 13.67 MB / 483.5 MB, free: 134.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/0.7832, allocations: 2.118 MB / 485.7 MB, free: 134 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002139/0.7854, allocations: 0.7438 MB / 486.4 MB, free: 133.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007922/0.7862, allocations: 0.6282 MB / 487 MB, free: 133.7 MB / 442.7 MB Notification: Performance of SimCode: time 1.472e-06/0.7862, allocations: 0 / 487 MB, free: 133.7 MB / 442.7 MB Notification: Performance of Templates: time 0.05961/0.8458, allocations: 30.12 MB / 0.505 GB, free: 107.1 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.246343833394349]