Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.001481/0.001481, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001483/0.001483, allocations: 169.1 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.9074/0.9074, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.3126/0.3126, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 325.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.804e-05/2.956e-05, allocations: 3.781 kB / 325.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01994/0.01997, allocations: 9.714 MB / 334.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01368/0.03365, allocations: 3.149 MB / 338.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.03524, allocations: 75.62 kB / 338.2 MB, free: 10.7 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0032/0.03844, allocations: 2.874 MB / 341 MB, free: 7.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002761/0.0412, allocations: 1.151 MB / 342.2 MB, free: 6.664 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006122/0.04181, allocations: 307.3 kB / 342.5 MB, free: 6.363 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.002034/0.04385, allocations: 1.548 MB / 344 MB, free: 4.812 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00313/0.04698, allocations: 2.002 MB / 346 MB, free: 2.762 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005315/0.05229, allocations: 3.305 MB / 349.3 MB, free: 15.45 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001969/0.05426, allocations: 0.9738 MB / 350.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005885/0.05485, allocations: 184 kB / 350.5 MB, free: 14.29 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008155/0.05567, allocations: 299.7 kB / 350.8 MB, free: 14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001751/0.05742, allocations: 3.116 MB / 353.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.05894, allocations: 1.466 MB / 355.4 MB, free: 9.406 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004704/0.06365, allocations: 6.527 MB / 361.9 MB, free: 2.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.06365, allocations: 4 kB / 361.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.06365, allocations: 0 / 361.9 MB, free: 2.844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003113/0.06397, allocations: 0 / 361.9 MB, free: 2.844 MB / 330.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.008538/0.0725, allocations: 9.008 MB / 370.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.07254, allocations: 12.03 kB / 370.9 MB, free: 9.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007557/0.0733, allocations: 0.554 MB / 371.5 MB, free: 9.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008492/0.08179, allocations: 5.157 MB / 376.6 MB, free: 3.879 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.401e-05/0.08188, allocations: 131.3 kB / 376.8 MB, free: 3.75 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.08209, allocations: 164 kB / 376.9 MB, free: 3.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.08556, allocations: 2.773 MB / 379.7 MB, free: 0.6406 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/0.08559, allocations: 7.938 kB / 379.7 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.423e-05/0.08569, allocations: 71.95 kB / 379.8 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001065/0.08675, allocations: 1.561 MB / 381.3 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00236/0.08911, allocations: 1.332 MB / 382.7 MB, free: 13.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0187/0.1078, allocations: 15.59 MB / 398.3 MB, free: 13.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009897/0.1088, allocations: 358 kB / 398.6 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.1089, allocations: 32.84 kB / 398.6 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0043/0.1132, allocations: 2.095 MB / 400.7 MB, free: 11.27 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.401e-05/0.1132, allocations: 109.8 kB / 400.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.597e-06/0.1132, allocations: 0 / 400.8 MB, free: 11.16 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0008819/0.1141, allocations: 449.1 kB / 401.3 MB, free: 10.71 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.1141, allocations: 126.7 kB / 401.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006501/0.1206, allocations: 7.073 MB / 408.5 MB, free: 3.559 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.086e-05/0.1207, allocations: 25.7 kB / 408.5 MB, free: 3.527 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002111/0.1228, allocations: 3.892 MB / 412.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.649e-05/0.1228, allocations: 91.91 kB / 412.5 MB, free: 15.51 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005144/0.1234, allocations: 0.7983 MB / 413.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.15e-05/0.1234, allocations: 301.1 kB / 413.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.1237, allocations: 276.2 kB / 413.8 MB, free: 14.12 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001809/0.1255, allocations: 3.542 MB / 417.4 MB, free: 8.898 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003158/0.1286, allocations: 4.473 MB / 421.9 MB, free: 2.77 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.19e-05/0.1287, allocations: 40 kB / 421.9 MB, free: 2.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.004278/0.133, allocations: 3.309 MB / 425.2 MB, free: 15.42 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.069e-05/0.133, allocations: 52 kB / 425.3 MB, free: 15.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.156e-05/0.1331, allocations: 120 kB / 425.4 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-05/0.1332, allocations: 156 kB / 425.5 MB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.1346, allocations: 0.9825 MB / 426.5 MB, free: 14.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001083/0.1347, allocations: 227.1 kB / 426.7 MB, free: 13.89 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/0.1371, allocations: 0.6128 MB / 427.3 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.1372, allocations: 248 kB / 427.6 MB, free: 13.03 MB / 410.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.001466/0.1387, allocations: 0.5779 MB / 428.2 MB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000597/0.1393, allocations: 0.5082 MB / 428.7 MB, free: 11.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008848/0.1402, allocations: 0.7722 MB / 429.4 MB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.281e-05/0.1402, allocations: 184.2 kB / 429.6 MB, free: 10.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.802e-05/0.1403, allocations: 184.2 kB / 429.8 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-05/0.1403, allocations: 176.3 kB / 430 MB, free: 10.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.1429, allocations: 2.257 MB / 432.2 MB, free: 8.301 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.677e-05/0.1429, allocations: 108.9 kB / 432.3 MB, free: 8.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.582e-05/0.143, allocations: 109 kB / 432.4 MB, free: 8.074 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.263e-05/0.143, allocations: 180.2 kB / 432.6 MB, free: 7.891 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.487e-05/0.143, allocations: 188.2 kB / 432.8 MB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.195e-05/0.1431, allocations: 180.3 kB / 433 MB, free: 7.516 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.263e-05/0.1431, allocations: 180.2 kB / 433.2 MB, free: 7.332 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.1436, allocations: 0.7471 MB / 433.9 MB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007729/0.1444, allocations: 0.8193 MB / 434.7 MB, free: 5.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003033/0.1447, allocations: 188.2 kB / 434.9 MB, free: 5.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004095/0.1451, allocations: 104.9 kB / 435 MB, free: 5.43 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.004e-05/0.1452, allocations: 184.2 kB / 435.2 MB, free: 5.242 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.722e-05/0.1452, allocations: 108.9 kB / 435.3 MB, free: 5.129 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002943/0.1482, allocations: 3.558 MB / 438.9 MB, free: 1.621 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1482, allocations: 4 kB / 438.9 MB, free: 1.617 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002906/0.1511, allocations: 1.145 MB / 440 MB, free: 480 kB / 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.0001684/0.1512, allocations: 159.7 kB / 440.2 MB, free: 308 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001614/0.1528, allocations: 1.44 MB / 441.6 MB, free: 14.87 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001763/0.153, allocations: 156.2 kB / 441.7 MB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.619e-06/0.153, allocations: 0 / 441.7 MB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006968/0.16, allocations: 3.437 MB / 445.2 MB, free: 11.29 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.293/0.4529, allocations: 13.67 MB / 458.9 MB, free: 119.6 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00223/0.4552, allocations: 2.145 MB / 461 MB, free: 119.4 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.003253/0.4584, allocations: 1.058 MB / 462.1 MB, free: 119.3 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002912/0.4613, allocations: 1.747 MB / 463.8 MB, free: 119.1 MB / 426.8 MB Notification: Performance of SimCode: time 2.305e-06/0.4613, allocations: 0 / 463.8 MB, free: 119.1 MB / 426.8 MB Notification: Performance of Templates: time 0.1007/0.562, allocations: 90.86 MB / 0.5417 GB, free: 34.64 MB / 426.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_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.830894284881651]