Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009853/0.0009853, allocations: 67.77 kB / 21.69 MB, free: 2.852 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.0009493/0.0009493, allocations: 165.5 kB / 24.99 MB, free: 8.742 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.002/1.002, allocations: 177.1 MB / 205.3 MB, free: 5.637 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.2967/0.2967, allocations: 34.25 MB / 296 MB, free: 0.6797 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.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_4.1.0_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_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.328e-05, allocations: 2.312 kB / 378 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FixedRotation): time 0.01165/0.01167, allocations: 16.15 MB / 394.2 MB, free: 2.723 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007109/0.01878, allocations: 3.882 MB / 398 MB, free: 14.83 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.02109, allocations: 111.6 kB / 398.2 MB, free: 14.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.0243, allocations: 2.323 MB / 400.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004767/0.02906, allocations: 2.668 MB / 403.1 MB, free: 9.707 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006709/0.02973, allocations: 343.2 kB / 403.5 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.007076/0.03681, allocations: 6.653 MB / 410.1 MB, free: 2.707 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004033/0.04084, allocations: 3.204 MB / 413.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005591/0.04643, allocations: 3.106 MB / 416.4 MB, free: 12.34 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004314/0.05075, allocations: 2.926 MB / 419.4 MB, free: 9.406 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00147/0.05222, allocations: 392 kB / 419.7 MB, free: 9.023 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.05434, allocations: 0.8427 MB / 420.6 MB, free: 8.18 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002578/0.05691, allocations: 2.913 MB / 423.5 MB, free: 5.258 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002835/0.05975, allocations: 1.65 MB / 425.2 MB, free: 3.602 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007234/0.06698, allocations: 6.57 MB / 431.7 MB, free: 13 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.06699, allocations: 0 / 431.7 MB, free: 13 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.06699, allocations: 0 / 431.7 MB, free: 13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003065/0.0673, allocations: 4 kB / 431.7 MB, free: 13 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: 2817 * Number of variables: 2817 Notification: Performance of Generate backend data structure: time 0.00925/0.07655, allocations: 7.76 MB / 439.5 MB, free: 5.156 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.07659, allocations: 12.02 kB / 439.5 MB, free: 5.145 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1752/0.2518, allocations: 6.826 MB / 446.3 MB, free: 97.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00574/0.2576, allocations: 3.065 MB / 449.4 MB, free: 96.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002637/0.2578, allocations: 324.4 kB / 449.7 MB, free: 96.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001614/0.2594, allocations: 422.2 kB / 450.1 MB, free: 96.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/0.2757, allocations: 9.381 MB / 459.5 MB, free: 92.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001152/0.2758, allocations: 32.28 kB / 459.5 MB, free: 92.78 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000685/0.2765, allocations: 205.6 kB / 459.7 MB, free: 92.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004225/0.2807, allocations: 4.749 MB / 464.5 MB, free: 91.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01984/0.3006, allocations: 5.683 MB / 470.2 MB, free: 90.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06854/0.3691, allocations: 60.17 MB / 0.5179 GB, free: 41.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008298/0.3774, allocations: 3.493 MB / 0.5213 GB, free: 38.03 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.3789, allocations: 0.7559 MB / 0.5221 GB, free: 37.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009995/0.3889, allocations: 7.323 MB / 0.5292 GB, free: 30.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/0.3889, allocations: 63.33 kB / 0.5293 GB, free: 29.94 MB / 410.7 MB Notification: Performance of pre-optimization done (n=321): time 5.801e-06/0.3889, allocations: 0 / 0.5293 GB, free: 29.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=321): time 0.009014/0.3979, allocations: 4.21 MB / 0.5334 GB, free: 25.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/0.398, allocations: 103.1 kB / 0.5335 GB, free: 25.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005126/0.4031, allocations: 4.924 MB / 0.5383 GB, free: 20.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004467/0.4036, allocations: 65.7 kB / 0.5384 GB, free: 20.56 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002141/0.4057, allocations: 5.546 MB / 0.5438 GB, free: 14.96 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001434/0.4071, allocations: 1.307 MB / 0.545 GB, free: 13.64 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002075/0.4092, allocations: 2.093 MB / 0.5471 GB, free: 11.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.901e-05/0.4093, allocations: 480.8 kB / 0.5475 GB, free: 11.06 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/0.4113, allocations: 0.9981 MB / 0.5485 GB, free: 10.06 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004261/0.4155, allocations: 9.068 MB / 0.5574 GB, free: 13.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/0.4256, allocations: 11.12 MB / 0.5682 GB, free: 14.54 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002064/0.4258, allocations: 56 kB / 0.5683 GB, free: 14.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=1266) (initialization): time 0.013/0.4388, allocations: 7.754 MB / 0.5759 GB, free: 6.738 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.4389, allocations: 88 kB / 0.5759 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001944/0.4391, allocations: 188 kB / 0.5761 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00019/0.4393, allocations: 252.9 kB / 0.5764 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004816/0.4441, allocations: 2.079 MB / 0.5784 GB, free: 4.141 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003173/0.4444, allocations: 378.5 kB / 0.5788 GB, free: 3.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005273/0.4497, allocations: 1.287 MB / 0.58 GB, free: 2.473 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001407/0.4511, allocations: 0.5508 MB / 0.5805 GB, free: 1.922 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 868 * 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 (1140): * Single equations (assignments): 1122 * Array equations: 18 * 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.003156/0.4542, allocations: 0.8747 MB / 0.5814 GB, free: 1.031 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000692/0.4549, allocations: 0.5164 MB / 0.5819 GB, free: 0.5117 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007135/0.4556, allocations: 0.5145 MB / 0.5824 GB, free: 15.99 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.249e-05/0.4557, allocations: 59.92 kB / 0.5825 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.98e-05/0.4557, allocations: 2 kB / 0.5825 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.4557, allocations: 11.95 kB / 0.5825 GB, free: 15.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.4704, allocations: 8.641 MB / 0.5909 GB, free: 6.926 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.4704, allocations: 16 kB / 0.5909 GB, free: 6.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.4715, allocations: 419.4 kB / 0.5913 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-05/0.4715, allocations: 28 kB / 0.5914 GB, free: 6.473 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001198/0.4717, allocations: 60 kB / 0.5914 GB, free: 6.414 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.812e-05/0.4717, allocations: 31.86 kB / 0.5914 GB, free: 6.383 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.064e-05/0.4717, allocations: 19.94 kB / 0.5915 GB, free: 6.363 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003017/0.4747, allocations: 2.661 MB / 0.5941 GB, free: 3.395 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007269/0.4754, allocations: 460.2 kB / 0.5945 GB, free: 2.941 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000373/0.4758, allocations: 55.97 kB / 0.5946 GB, free: 2.887 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008761/0.4767, allocations: 127.8 kB / 0.5947 GB, free: 2.762 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.4769, allocations: 188.7 kB / 0.5949 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000139/0.4771, allocations: 102.9 kB / 0.595 GB, free: 2.48 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002801/0.4799, allocations: 1.969 MB / 0.5969 GB, free: 0.5156 MB / 458.7 MB Notification: Performance of sort global known variables: time 2e-07/0.4799, allocations: 4 kB / 0.5969 GB, free: 0.5117 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.1769/0.6567, allocations: 2.033 MB / 0.5989 GB, free: 120 MB / 458.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.0006602/0.6574, allocations: 199.3 kB / 0.5991 GB, free: 119.9 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006385/0.6638, allocations: 4.228 MB / 0.6032 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/0.6638, allocations: 2.906 kB / 0.6032 GB, free: 119.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.6648, allocations: 0.8783 MB / 0.604 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001695/0.6665, allocations: 449 kB / 0.6045 GB, free: 119.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.6817, allocations: 13.04 MB / 0.6172 GB, free: 113.6 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002006/0.6837, allocations: 2.164 MB / 0.6193 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004378/0.6881, allocations: 2.908 MB / 0.6222 GB, free: 113.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007711/0.6889, allocations: 346.9 kB / 0.6225 GB, free: 113.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.753e-06/0.6889, allocations: 0 / 0.6225 GB, free: 113.1 MB / 458.7 MB Notification: Performance of Templates: time 0.05494/0.7438, allocations: 29.05 MB / 0.6509 GB, free: 104.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/FixedRotation/FixedRotation.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.899574025999755]