Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001427/0.001427, allocations: 87.58 kB / 21.19 MB, free: 3.371 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.001637/0.001637, allocations: 165 kB / 24.56 MB, free: 4 kB / 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.9787/0.9787, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2613/0.2613, allocations: 32.81 MB / 294.3 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 376 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.985e-05/2.176e-05, allocations: 10.25 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01094/0.01096, allocations: 9.967 MB / 386 MB, free: 10.63 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007324/0.01829, allocations: 3.024 MB / 389 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.02034, allocations: 75.62 kB / 389.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004616/0.02496, allocations: 2.882 MB / 392 MB, free: 4.629 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002407/0.02737, allocations: 1.147 MB / 393.1 MB, free: 3.477 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005664/0.02793, allocations: 303.3 kB / 393.4 MB, free: 3.18 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001493/0.02943, allocations: 1.552 MB / 395 MB, free: 1.621 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001822/0.03125, allocations: 1.965 MB / 396.9 MB, free: 15.62 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.03428, allocations: 3.561 MB / 400.5 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.03532, allocations: 1.021 MB / 401.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003145/0.03563, allocations: 188 kB / 401.7 MB, free: 10.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004548/0.03609, allocations: 287.8 kB / 402 MB, free: 10.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001579/0.03767, allocations: 3.116 MB / 405.1 MB, free: 7.438 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.03891, allocations: 1.466 MB / 406.5 MB, free: 5.965 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004099/0.04301, allocations: 6.535 MB / 413.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.04302, allocations: 0 / 413.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.04302, allocations: 0 / 413.1 MB, free: 15.4 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002584/0.04328, allocations: 0 / 413.1 MB, free: 15.4 MB / 394.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.007655/0.05093, allocations: 9.776 MB / 422.9 MB, free: 5.52 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.709e-05/0.05099, allocations: 8.031 kB / 422.9 MB, free: 5.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.05226, allocations: 1.168 MB / 424 MB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00807/0.06033, allocations: 6.088 MB / 430.1 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.06044, allocations: 127.4 kB / 430.2 MB, free: 14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000213/0.06066, allocations: 167.9 kB / 430.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004795/0.06545, allocations: 3.118 MB / 433.5 MB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.18e-05/0.06549, allocations: 7.938 kB / 433.5 MB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/0.06564, allocations: 75.94 kB / 433.6 MB, free: 10.41 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001657/0.0673, allocations: 1.561 MB / 435.2 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003101/0.0704, allocations: 1.458 MB / 436.6 MB, free: 7.383 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3272/0.3976, allocations: 20.37 MB / 457 MB, free: 81.78 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008599/0.3985, allocations: 354.1 kB / 457.3 MB, free: 81.73 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.584e-05/0.3986, allocations: 47.5 kB / 457.4 MB, free: 81.71 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001751/0.4003, allocations: 1.866 MB / 459.3 MB, free: 80.87 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.728e-05/0.4003, allocations: 155.5 kB / 459.4 MB, free: 80.71 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.343e-06/0.4003, allocations: 0 / 459.4 MB, free: 80.71 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0003835/0.4007, allocations: 0.8766 MB / 460.3 MB, free: 80.25 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.065e-05/0.4007, allocations: 173.5 kB / 460.5 MB, free: 80.07 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005983/0.4067, allocations: 8.925 MB / 469.4 MB, free: 76.88 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.4067, allocations: 25.7 kB / 469.4 MB, free: 76.85 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002902/0.4096, allocations: 6.392 MB / 475.8 MB, free: 72.32 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.4097, allocations: 93 kB / 475.9 MB, free: 72.29 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/0.4102, allocations: 0.8589 MB / 476.7 MB, free: 71.81 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.096e-05/0.4102, allocations: 479.8 kB / 477.2 MB, free: 71.34 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003309/0.4105, allocations: 339.5 kB / 477.5 MB, free: 71.29 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.412, allocations: 5.098 MB / 482.6 MB, free: 64.67 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002883/0.4148, allocations: 5.987 MB / 488.6 MB, free: 57.49 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.521e-05/0.4149, allocations: 33.03 kB / 488.7 MB, free: 57.49 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00548/0.4204, allocations: 4.338 MB / 493 MB, free: 55.61 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/0.4205, allocations: 63.88 kB / 493.1 MB, free: 55.6 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001253/0.4206, allocations: 117 kB / 493.2 MB, free: 55.6 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001713/0.4207, allocations: 152.6 kB / 493.3 MB, free: 55.6 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001761/0.4225, allocations: 0.979 MB / 494.3 MB, free: 55.47 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002031/0.4227, allocations: 231 kB / 494.5 MB, free: 55.42 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002273/0.425, allocations: 0.6114 MB / 495.1 MB, free: 55.17 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002845/0.4253, allocations: 291 kB / 495.4 MB, free: 55.13 MB / 410.8 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.001453/0.4267, allocations: 0.6614 MB / 496.1 MB, free: 54.65 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006173/0.4273, allocations: 0.9895 MB / 497.1 MB, free: 54 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/0.4279, allocations: 0.8118 MB / 497.9 MB, free: 53.59 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/0.428, allocations: 269.3 kB / 498.2 MB, free: 53.32 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.538e-05/0.428, allocations: 269.4 kB / 498.4 MB, free: 53.05 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.089e-05/0.428, allocations: 269.2 kB / 498.7 MB, free: 52.78 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005059/0.4331, allocations: 4.937 MB / 0.4918 GB, free: 50.46 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/0.4331, allocations: 148.9 kB / 0.492 GB, free: 50.31 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.541e-05/0.4331, allocations: 152.4 kB / 0.4921 GB, free: 50.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.511e-05/0.4332, allocations: 271.5 kB / 0.4924 GB, free: 49.89 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.65e-05/0.4332, allocations: 268 kB / 0.4926 GB, free: 49.62 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.289e-05/0.4332, allocations: 271.1 kB / 0.4929 GB, free: 49.35 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.193e-05/0.4332, allocations: 271.6 kB / 0.4931 GB, free: 49.08 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005741/0.4338, allocations: 1.359 MB / 0.4945 GB, free: 48.05 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007215/0.4345, allocations: 0.8945 MB / 0.4953 GB, free: 47.38 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003779/0.4349, allocations: 273.1 kB / 0.4956 GB, free: 47.11 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/0.4355, allocations: 154.3 kB / 0.4957 GB, free: 46.96 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.53e-05/0.4356, allocations: 265.6 kB / 0.496 GB, free: 46.69 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/0.4356, allocations: 146 kB / 0.4961 GB, free: 46.54 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.004544/0.4401, allocations: 4.488 MB / 0.5005 GB, free: 45.23 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4401, allocations: 4 kB / 0.5005 GB, free: 45.22 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.003348/0.4435, allocations: 1.146 MB / 0.5016 GB, free: 45.01 MB / 410.8 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.0001664/0.4436, allocations: 220.7 kB / 0.5018 GB, free: 44.8 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001949/0.4456, allocations: 1.557 MB / 0.5034 GB, free: 44.23 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.4456, allocations: 4.062 kB / 0.5034 GB, free: 44.22 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.857e-06/0.4456, allocations: 11.06 kB / 0.5034 GB, free: 44.22 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007895/0.4535, allocations: 3.68 MB / 0.507 GB, free: 41.7 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/0.467, allocations: 13.41 MB / 0.5201 GB, free: 29.06 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.4687, allocations: 2.14 MB / 0.5222 GB, free: 27.6 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.003567/0.4723, allocations: 1.748 MB / 0.5239 GB, free: 26.4 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003523/0.4727, allocations: 400.5 kB / 0.5243 GB, free: 26.01 MB / 410.8 MB Notification: Performance of SimCode: time 1.723e-06/0.4727, allocations: 0 / 0.5243 GB, free: 26.01 MB / 410.8 MB Notification: Performance of Templates: time 0.1083/0.5809, allocations: 88.53 MB / 0.6107 GB, free: 3.352 MB / 474.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 5.289163920097053]