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.002428/0.002428, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.002999/0.002999, allocations: 169.3 kB / 24.28 MB, free: 152 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 1.619/1.619, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3281/0.3281, allocations: 34.26 MB / 295.3 MB, free: 0.6836 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.583e-06/1.583e-06, allocations: 0 / 377.3 MB, free: 2.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.886e-05, allocations: 2.312 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01426/0.01429, allocations: 9.897 MB / 387.2 MB, free: 9.031 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007114/0.0214, allocations: 3.017 MB / 390.2 MB, free: 6.004 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001249/0.02265, allocations: 83.56 kB / 390.3 MB, free: 5.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006052/0.0287, allocations: 2.858 MB / 393.1 MB, free: 3.055 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002961/0.03166, allocations: 1.154 MB / 394.3 MB, free: 1.895 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007003/0.03236, allocations: 299.3 kB / 394.6 MB, free: 1.602 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002099/0.03446, allocations: 1.551 MB / 396.1 MB, free: 48 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002463/0.03693, allocations: 1.964 MB / 398.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002211/0.03914, allocations: 1.309 MB / 399.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00533/0.04447, allocations: 3.253 MB / 402.7 MB, free: 9.473 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000536/0.045, allocations: 188 kB / 402.8 MB, free: 9.289 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000828/0.04583, allocations: 295.7 kB / 403.1 MB, free: 9 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003166/0.049, allocations: 3.116 MB / 406.2 MB, free: 5.875 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002388/0.05139, allocations: 1.462 MB / 407.7 MB, free: 4.406 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01182/0.0632, allocations: 9.277 MB / 417 MB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.06321, allocations: 0 / 417 MB, free: 11.09 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.06321, allocations: 0 / 417 MB, free: 11.09 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003779/0.06359, allocations: 3.938 kB / 417 MB, free: 11.09 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.02033/0.08391, allocations: 10.38 MB / 427.4 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.08396, allocations: 8.031 kB / 427.4 MB, free: 0.6055 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002178/0.08614, allocations: 1.164 MB / 428.5 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006811/0.09295, allocations: 3.457 MB / 432 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.09308, allocations: 127.4 kB / 432.1 MB, free: 11.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002682/0.09334, allocations: 167.9 kB / 432.3 MB, free: 11.63 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00669/0.1, allocations: 3.337 MB / 435.6 MB, free: 8.055 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/0.1001, allocations: 7.938 kB / 435.6 MB, free: 8.047 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001695/0.1003, allocations: 79.92 kB / 435.7 MB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002062/0.1023, allocations: 1.565 MB / 437.3 MB, free: 6.402 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005028/0.1073, allocations: 1.405 MB / 438.7 MB, free: 5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3262/0.4335, allocations: 24.88 MB / 463.5 MB, free: 79.4 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.4349, allocations: 355.3 kB / 463.9 MB, free: 79.35 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.311e-05/0.435, allocations: 49.47 kB / 463.9 MB, free: 79.32 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005071/0.4401, allocations: 1.886 MB / 465.8 MB, free: 78.34 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.4401, allocations: 152.6 kB / 466 MB, free: 78.18 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.393e-06/0.4401, allocations: 3.219 kB / 466 MB, free: 78.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0008784/0.441, allocations: 0.8715 MB / 466.9 MB, free: 77.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.441, allocations: 170.6 kB / 467 MB, free: 77.48 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01582/0.4568, allocations: 10.99 MB / 478 MB, free: 73.29 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.4568, allocations: 26.77 kB / 478 MB, free: 73.25 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006448/0.4633, allocations: 6.992 MB / 485 MB, free: 68.43 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/0.4635, allocations: 89.67 kB / 485.1 MB, free: 68.4 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.4646, allocations: 0.9613 MB / 486.1 MB, free: 67.86 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.12e-05/0.4647, allocations: 476.8 kB / 486.5 MB, free: 67.39 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005582/0.4652, allocations: 334.3 kB / 486.9 MB, free: 67.35 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002544/0.4678, allocations: 5.194 MB / 492.1 MB, free: 60.63 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004205/0.472, allocations: 6.073 MB / 498.1 MB, free: 53.25 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001305/0.4721, allocations: 34.38 kB / 498.2 MB, free: 53.25 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007619/0.4797, allocations: 4.337 MB / 0.4907 GB, free: 51.37 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.257e-05/0.4798, allocations: 54.88 kB / 0.4908 GB, free: 51.37 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001033/0.4799, allocations: 120 kB / 0.4909 GB, free: 51.37 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001122/0.48, allocations: 151.7 kB / 0.491 GB, free: 51.37 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002351/0.4824, allocations: 0.9809 MB / 0.492 GB, free: 51.24 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001514/0.4825, allocations: 229.4 kB / 0.4922 GB, free: 51.19 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00377/0.4863, allocations: 0.6121 MB / 0.4928 GB, free: 50.93 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002678/0.4866, allocations: 283 kB / 0.4931 GB, free: 50.8 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.00191/0.4885, allocations: 0.7177 MB / 0.4938 GB, free: 50.14 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006889/0.4892, allocations: 0.9911 MB / 0.4948 GB, free: 49.14 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.4899, allocations: 0.8084 MB / 0.4955 GB, free: 48.46 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3e-05/0.49, allocations: 275.2 kB / 0.4958 GB, free: 48.18 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.924e-05/0.49, allocations: 268 kB / 0.4961 GB, free: 47.91 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.908e-05/0.49, allocations: 264.1 kB / 0.4963 GB, free: 47.65 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006807/0.4968, allocations: 6.679 MB / 0.5028 GB, free: 41.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.399e-05/0.4969, allocations: 152.8 kB / 0.503 GB, free: 41.49 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.4969, allocations: 148.9 kB / 0.5031 GB, free: 41.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.13e-05/0.4969, allocations: 271.4 kB / 0.5034 GB, free: 41.07 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.722e-05/0.497, allocations: 272.1 kB / 0.5036 GB, free: 40.8 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.264e-05/0.497, allocations: 271.6 kB / 0.5039 GB, free: 40.53 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.163e-05/0.497, allocations: 268 kB / 0.5042 GB, free: 40.26 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.4981, allocations: 1.364 MB / 0.5055 GB, free: 38.87 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/0.4995, allocations: 0.8968 MB / 0.5064 GB, free: 37.98 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004815/0.5, allocations: 264.1 kB / 0.5066 GB, free: 37.71 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/0.5008, allocations: 152.8 kB / 0.5068 GB, free: 37.56 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.528e-05/0.5008, allocations: 268 kB / 0.507 GB, free: 37.29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.5008, allocations: 152.2 kB / 0.5072 GB, free: 37.14 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.007015/0.5078, allocations: 5.174 MB / 0.5122 GB, free: 32.86 MB / 410.8 MB Notification: Performance of sort global known variables: time 8.1e-08/0.5078, allocations: 4 kB / 0.5122 GB, free: 32.86 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004023/0.5119, allocations: 1.144 MB / 0.5133 GB, free: 31.83 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.0001478/0.512, allocations: 215.9 kB / 0.5135 GB, free: 31.61 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002659/0.5147, allocations: 1.665 MB / 0.5152 GB, free: 30.13 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.5147, allocations: 8.25 kB / 0.5152 GB, free: 30.12 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 4.188e-06/0.5147, allocations: 0.75 kB / 0.5152 GB, free: 30.12 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01338/0.5281, allocations: 3.681 MB / 0.5188 GB, free: 27.12 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/0.5459, allocations: 13.44 MB / 0.5319 GB, free: 14.46 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004943/0.5509, allocations: 4.44 MB / 0.5362 GB, free: 10.71 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004927/0.5558, allocations: 1.749 MB / 0.5379 GB, free: 8.957 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006342/0.5564, allocations: 400.5 kB / 0.5383 GB, free: 8.566 MB / 410.8 MB Notification: Performance of SimCode: time 1.583e-06/0.5564, allocations: 0 / 0.5383 GB, free: 8.566 MB / 410.8 MB Notification: Performance of Templates: time 0.3163/0.8728, allocations: 83.22 MB / 0.6196 GB, free: 136.1 MB / 474.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.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.034992980072275]