Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.0008069/0.0008069, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001035/0.001842, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007102/0.0007102, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008538/0.001564, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9604/0.9604, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09205/1.052, allocations: 53.87 MB / 243.8 MB, free: 14.91 MB / 250.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.2563/0.2563, allocations: 34.86 MB / 279.3 MB, free: 14.91 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02833/0.2846, allocations: 13.23 MB / 292.6 MB, free: 6.473 MB / 282.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.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 293.8 MB, free: 5.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.729e-06/1.092e-05, allocations: 4.703 kB / 293.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.007352/0.007363, allocations: 9.82 MB / 303.7 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005606/0.01297, allocations: 3.162 MB / 306.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001024/0.01399, allocations: 75.69 kB / 306.9 MB, free: 8.098 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00256/0.01655, allocations: 2.702 MB / 309.6 MB, free: 5.387 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00256/0.01911, allocations: 1.127 MB / 310.7 MB, free: 4.254 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005652/0.01968, allocations: 271.4 kB / 311 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001586/0.02126, allocations: 1.542 MB / 312.5 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.02297, allocations: 1.947 MB / 314.5 MB, free: 452 kB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003257/0.02623, allocations: 3.213 MB / 317.7 MB, free: 13.21 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.02748, allocations: 0.9776 MB / 318.7 MB, free: 12.23 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003786/0.02786, allocations: 192 kB / 318.9 MB, free: 12.04 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005676/0.02843, allocations: 287.8 kB / 319.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001654/0.03008, allocations: 3.003 MB / 322.2 MB, free: 8.75 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001313/0.03139, allocations: 1.294 MB / 323.4 MB, free: 7.449 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005089/0.03648, allocations: 6.434 MB / 329.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.075e-05/0.0365, allocations: 0 / 329.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.976e-06/0.03651, allocations: 0 / 329.9 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002929/0.0368, allocations: 0 / 329.9 MB, free: 0.9844 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1421 * Number of variables: 1421 Notification: Performance of Generate backend data structure: time 0.01022/0.04702, allocations: 10.36 MB / 340.2 MB, free: 6.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.04705, allocations: 12.92 kB / 340.3 MB, free: 6.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007772/0.04783, allocations: 0.5541 MB / 340.8 MB, free: 5.961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006144/0.05397, allocations: 5.161 MB / 346 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.79e-05/0.05405, allocations: 131.3 kB / 346.1 MB, free: 0.5312 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.05419, allocations: 163.9 kB / 346.3 MB, free: 380 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.05742, allocations: 2.841 MB / 349.1 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.587e-05/0.05746, allocations: 7.938 kB / 349.1 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001152/0.05757, allocations: 75.88 kB / 349.2 MB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00135/0.05892, allocations: 1.569 MB / 350.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002328/0.06125, allocations: 1.326 MB / 352.1 MB, free: 10.33 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01867/0.07992, allocations: 15.61 MB / 367.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/0.08109, allocations: 338 kB / 368 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.08115, allocations: 28.84 kB / 368 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003535/0.08468, allocations: 2.103 MB / 370.1 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.789e-05/0.08473, allocations: 113.9 kB / 370.3 MB, free: 7.828 MB / 362.7 MB Notification: Performance of pre-optimization done (n=0): time 2.835e-06/0.08473, allocations: 0 / 370.3 MB, free: 7.828 MB / 362.7 MB Notification: Performance of matching and sorting (n=0): time 0.0006964/0.08543, allocations: 441.1 kB / 370.7 MB, free: 7.391 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.576e-05/0.08549, allocations: 130.7 kB / 370.8 MB, free: 7.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00682/0.09231, allocations: 7.073 MB / 377.9 MB, free: 240 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.858e-06/0.09232, allocations: 29.7 kB / 377.9 MB, free: 204 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00227/0.09459, allocations: 3.884 MB / 381.8 MB, free: 12.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.09466, allocations: 95.91 kB / 381.9 MB, free: 12.19 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006379/0.0953, allocations: 0.7983 MB / 382.7 MB, free: 11.38 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.387e-05/0.09537, allocations: 301.1 kB / 383 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003105/0.09568, allocations: 276.2 kB / 383.3 MB, free: 10.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00207/0.09775, allocations: 3.546 MB / 386.8 MB, free: 5.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003597/0.1014, allocations: 4.477 MB / 391.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.373e-05/0.1014, allocations: 32 kB / 391.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006085/0.1075, allocations: 3.308 MB / 394.6 MB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.606e-05/0.1076, allocations: 59.94 kB / 394.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.1077, allocations: 116 kB / 394.8 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001223/0.1078, allocations: 152.8 kB / 394.9 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002137/0.11, allocations: 1.084 MB / 396 MB, free: 10.69 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001494/0.1101, allocations: 235.1 kB / 396.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003046/0.1131, allocations: 0.6127 MB / 396.9 MB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/0.1134, allocations: 252 kB / 397.1 MB, free: 9.594 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 30 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (537): * Single equations (assignments): 537 * Array equations: 0 * 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.00161/0.115, allocations: 0.574 MB / 397.7 MB, free: 9.004 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007535/0.1158, allocations: 0.5043 MB / 398.2 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009689/0.1167, allocations: 0.7722 MB / 399 MB, free: 7.707 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.426e-05/0.1168, allocations: 184.2 kB / 399.1 MB, free: 7.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.2e-05/0.1168, allocations: 176.3 kB / 399.3 MB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.752e-05/0.1169, allocations: 176.3 kB / 399.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002748/0.1196, allocations: 2.269 MB / 401.8 MB, free: 4.863 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-05/0.1197, allocations: 101 kB / 401.9 MB, free: 4.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.556e-05/0.1197, allocations: 108.9 kB / 402 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008956/0.1206, allocations: 0.8271 MB / 402.8 MB, free: 3.805 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.795e-05/0.1206, allocations: 180.3 kB / 403 MB, free: 3.621 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.048e-05/0.1207, allocations: 184.1 kB / 403.1 MB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.426e-05/0.1207, allocations: 176.4 kB / 403.3 MB, free: 3.254 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.322e-05/0.1207, allocations: 188.2 kB / 403.5 MB, free: 3.062 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005065/0.1213, allocations: 0.7432 MB / 404.2 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003878/0.1216, allocations: 188.2 kB / 404.4 MB, free: 2.105 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.1221, allocations: 101 kB / 404.5 MB, free: 2 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.045e-05/0.1221, allocations: 188.1 kB / 404.7 MB, free: 1.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.638e-05/0.1221, allocations: 101 kB / 404.8 MB, free: 1.703 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003279/0.1254, allocations: 3.57 MB / 408.4 MB, free: 14.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1254, allocations: 4 kB / 408.4 MB, free: 14.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003015/0.1284, allocations: 1.145 MB / 409.5 MB, free: 13.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001819/0.1286, allocations: 151.7 kB / 409.7 MB, free: 12.88 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001697/0.1303, allocations: 1.444 MB / 411.1 MB, free: 11.44 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001805/0.1305, allocations: 156.2 kB / 411.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.611e-06/0.1305, allocations: 0 / 411.3 MB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007075/0.1376, allocations: 3.77 MB / 415 MB, free: 7.566 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01731/0.1549, allocations: 13.79 MB / 428.8 MB, free: 9.656 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/0.1569, allocations: 2.139 MB / 431 MB, free: 7.492 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002717/0.1596, allocations: 1.055 MB / 432 MB, free: 6.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002806/0.1624, allocations: 1.748 MB / 433.8 MB, free: 4.652 MB / 426.7 MB Notification: Performance of SimCode: time 2.244e-06/0.1624, allocations: 0 / 433.8 MB, free: 4.652 MB / 426.7 MB Notification: Performance of Templates: time 0.2574/0.4199, allocations: 97.53 MB / 0.5189 GB, free: 32.27 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.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.786521228030324]