Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008128/0.0008128, allocations: 88.28 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003083/0.003083, allocations: 160.1 kB / 24.7 MB, free: 9.418 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.854/0.854, allocations: 177 MB / 204.9 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2506/0.2506, allocations: 34.25 MB / 295.6 MB, free: 0.6562 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") translateModel(ModelicaTest.MultiBody.Joints.RevoluteInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 443.4 MB, free: 1.023 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.416e-05, allocations: 5.094 kB / 443.4 MB, free: 1.02 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.RevoluteInitialization): time 0.1691/0.1691, allocations: 9.023 MB / 452.5 MB, free: 39.29 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004416/0.1735, allocations: 3.618 MB / 456.1 MB, free: 37.04 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006981/0.1742, allocations: 68.88 kB / 456.1 MB, free: 37.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.1759, allocations: 1.989 MB / 458.1 MB, free: 36.18 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001778/0.1777, allocations: 1.738 MB / 459.9 MB, free: 35.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006751/0.1784, allocations: 0.66 MB / 460.5 MB, free: 35.09 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001933/0.1803, allocations: 3.74 MB / 464.3 MB, free: 33.68 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.182, allocations: 2.388 MB / 466.7 MB, free: 32.61 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.1833, allocations: 1.892 MB / 468.5 MB, free: 31.8 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.1844, allocations: 1.818 MB / 470.4 MB, free: 31.31 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.1847, allocations: 259.5 kB / 470.6 MB, free: 31.31 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008888/0.1855, allocations: 0.9739 MB / 471.6 MB, free: 31.11 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006503/0.1862, allocations: 1.665 MB / 473.3 MB, free: 30.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005547/0.1868, allocations: 1.031 MB / 474.3 MB, free: 29.9 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00308/0.1898, allocations: 5.812 MB / 480.1 MB, free: 27.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.1898, allocations: 2.969 kB / 480.1 MB, free: 27.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1898, allocations: 0 / 480.1 MB, free: 27.87 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.029e-05/0.1899, allocations: 0 / 480.1 MB, free: 27.87 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: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.004306/0.1942, allocations: 4.042 MB / 484.1 MB, free: 25.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.1942, allocations: 9.438 kB / 484.2 MB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003526/0.1978, allocations: 1.831 MB / 486 MB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002268/0.2, allocations: 1.867 MB / 487.9 MB, free: 24.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/0.2002, allocations: 191.9 kB / 488 MB, free: 24.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003213/0.2005, allocations: 254.9 kB / 488.3 MB, free: 24.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008808/0.2093, allocations: 8.511 MB / 496.8 MB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.044e-05/0.2094, allocations: 41.61 kB / 496.8 MB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002286/0.2096, allocations: 127.2 kB / 497 MB, free: 19.76 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001849/0.2114, allocations: 1.697 MB / 498.7 MB, free: 19.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00852/0.22, allocations: 7.096 MB / 0.4939 GB, free: 16.71 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02308/0.243, allocations: 32.24 MB / 0.5254 GB, free: 188 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004283/0.2473, allocations: 2.828 MB / 0.5281 GB, free: 13.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001166/0.2485, allocations: 1.361 MB / 0.5295 GB, free: 11.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003846/0.2523, allocations: 3.465 MB / 0.5329 GB, free: 8.438 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.2524, allocations: 43.22 kB / 0.5329 GB, free: 8.387 MB / 442.7 MB Notification: Performance of pre-optimization done (n=121): time 3.556e-06/0.2524, allocations: 0 / 0.5329 GB, free: 8.387 MB / 442.7 MB Notification: Performance of matching and sorting (n=129): time 0.01742/0.2698, allocations: 11.89 MB / 0.5445 GB, free: 12.42 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.15e-05/0.2699, allocations: 162.9 kB / 0.5447 GB, free: 12.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003515/0.2734, allocations: 3.513 MB / 0.5481 GB, free: 8.695 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/0.2735, allocations: 41.7 kB / 0.5481 GB, free: 8.648 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001272/0.2747, allocations: 2.847 MB / 0.5509 GB, free: 5.773 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003551/0.2751, allocations: 0.5429 MB / 0.5515 GB, free: 5.227 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009292/0.276, allocations: 1.064 MB / 0.5525 GB, free: 4.152 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.953e-05/0.2761, allocations: 305.1 kB / 0.5528 GB, free: 3.852 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.2777, allocations: 1.712 MB / 0.5545 GB, free: 2.133 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003206/0.2809, allocations: 5.158 MB / 0.5595 GB, free: 11.24 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005063/0.2859, allocations: 7.426 MB / 0.5667 GB, free: 2.109 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.031e-05/0.286, allocations: 36 kB / 0.5668 GB, free: 2.074 MB / 474.7 MB Notification: Performance of matching and sorting (n=696) (initialization): time 0.006371/0.2923, allocations: 6.717 MB / 0.5733 GB, free: 11.35 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.2924, allocations: 56 kB / 0.5734 GB, free: 11.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-05/0.2925, allocations: 120 kB / 0.5735 GB, free: 11.18 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003702/0.2928, allocations: 325.4 kB / 0.5738 GB, free: 10.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001916/0.2948, allocations: 1.248 MB / 0.575 GB, free: 9.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.2963, allocations: 2.355 MB / 0.5773 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/0.2982, allocations: 323.5 kB / 0.5776 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002537/0.2985, allocations: 337.5 kB / 0.578 GB, free: 6.512 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[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],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (668): * Single equations (assignments): 664 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00183/0.3003, allocations: 1.795 MB / 0.5797 GB, free: 4.703 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/0.3006, allocations: 286.1 kB / 0.58 GB, free: 4.422 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/0.3032, allocations: 2.316 MB / 0.5823 GB, free: 2.086 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.3032, allocations: 16 kB / 0.5823 GB, free: 2.07 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.3032, allocations: 4 kB / 0.5823 GB, free: 2.066 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.3032, allocations: 11.97 kB / 0.5823 GB, free: 2.055 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005964/0.3092, allocations: 5.172 MB / 0.5873 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3092, allocations: 1.25 kB / 0.5873 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.3096, allocations: 175.8 kB / 0.5875 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001103/0.3107, allocations: 0.7108 MB / 0.5882 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/0.3107, allocations: 20 kB / 0.5882 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003786/0.3145, allocations: 4.707 MB / 0.5928 GB, free: 7.125 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.3145, allocations: 4 kB / 0.5928 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004396/0.3189, allocations: 4.298 MB / 0.597 GB, free: 2.785 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005794/0.3195, allocations: 285.9 kB / 0.5973 GB, free: 2.504 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/0.3197, allocations: 23.94 kB / 0.5973 GB, free: 2.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006076/0.3203, allocations: 99.84 kB / 0.5974 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.3204, allocations: 72.52 kB / 0.5975 GB, free: 2.309 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.329e-05/0.3205, allocations: 32 kB / 0.5975 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002056/0.3225, allocations: 2.026 MB / 0.5995 GB, free: 260 kB / 0.4948 GB Notification: Performance of sort global known variables: time 2.7e-07/0.3225, allocations: 0 / 0.5995 GB, free: 260 kB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002621/0.3251, allocations: 0.8827 MB / 0.6003 GB, free: 15.37 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003133/0.3255, allocations: 159 kB / 0.6005 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003992/0.3294, allocations: 3.904 MB / 0.6043 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.3295, allocations: 5.375 kB / 0.6043 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009116/0.3304, allocations: 1.041 MB / 0.6053 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.3316, allocations: 340 kB / 0.6057 GB, free: 9.938 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009544/0.3411, allocations: 7.703 MB / 0.6132 GB, free: 2.18 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002091/0.3432, allocations: 2.232 MB / 0.6154 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/0.3437, allocations: 236.5 kB / 0.6156 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of SimCode: time 1.823e-06/0.3437, allocations: 3.938 kB / 0.6156 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of Templates: time 0.2263/0.57, allocations: 64.61 MB / 0.6787 GB, free: 132.4 MB / 0.5261 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/RevoluteInitialization/RevoluteInitialization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.RevoluteInitialization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.516028136946261]