Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001304/0.001304, allocations: 113.1 kB / 21.85 MB, free: 64 kB / 14.72 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.00152/0.00152, allocations: 201.8 kB / 25.13 MB, free: 3.578 MB / 14.72 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 1.484/1.484, allocations: 230.4 MB / 258.7 MB, free: 8.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2312/0.2312, allocations: 46.93 MB / 362 MB, free: 4.227 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.003396/0.003396, allocations: 83.84 kB / 0.4978 GB, free: 7.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.3157, allocations: 66.08 MB / 0.5623 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01305/0.3288, allocations: 10.32 MB / 0.5724 GB, free: 9.859 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008359/0.3372, allocations: 3.091 MB / 0.5754 GB, free: 6.762 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002029/0.3392, allocations: 75.69 kB / 0.5755 GB, free: 6.688 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005374/0.3446, allocations: 2.722 MB / 0.5781 GB, free: 3.957 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.3476, allocations: 1.136 MB / 0.5793 GB, free: 2.816 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006864/0.3483, allocations: 263.5 kB / 0.5795 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.3505, allocations: 1.509 MB / 0.581 GB, free: 1.043 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002299/0.3528, allocations: 1.916 MB / 0.5829 GB, free: 15.09 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001304/0.3541, allocations: 0.9381 MB / 0.5838 GB, free: 14.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004768/0.3589, allocations: 3.435 MB / 0.5871 GB, free: 10.71 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005131/0.3594, allocations: 188 kB / 0.5873 GB, free: 10.52 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007613/0.3602, allocations: 279.7 kB / 0.5876 GB, free: 10.25 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002646/0.3628, allocations: 3.005 MB / 0.5905 GB, free: 7.234 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003141/0.366, allocations: 3.337 MB / 0.5938 GB, free: 3.871 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009908/0.3759, allocations: 9.944 MB / 0.6035 GB, free: 9.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.3759, allocations: 0 / 0.6035 GB, free: 9.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3759, allocations: 0 / 0.6035 GB, free: 9.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000184/0.3761, allocations: 4 kB / 0.6035 GB, free: 9.871 MB / 446.1 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.01223/0.3883, allocations: 9.039 MB / 0.6123 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.3883, allocations: 12.03 kB / 0.6123 GB, free: 0.7266 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001318/0.3897, allocations: 1.024 MB / 0.6133 GB, free: 15.69 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006121/0.3958, allocations: 3.735 MB / 0.617 GB, free: 11.9 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000119/0.3959, allocations: 131.3 kB / 0.6171 GB, free: 11.77 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002156/0.3961, allocations: 171.9 kB / 0.6173 GB, free: 11.6 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009862/0.406, allocations: 6.608 MB / 0.6237 GB, free: 4.816 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.836e-05/0.406, allocations: 11.88 kB / 0.6237 GB, free: 4.805 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.4062, allocations: 75.94 kB / 0.6238 GB, free: 4.73 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001747/0.4079, allocations: 1.553 MB / 0.6253 GB, free: 3.176 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007379/0.4153, allocations: 4.14 MB / 0.6294 GB, free: 15.03 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02717/0.4425, allocations: 20.11 MB / 0.649 GB, free: 10.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/0.444, allocations: 342.1 kB / 0.6493 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001155/0.4441, allocations: 64.81 kB / 0.6494 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003867/0.448, allocations: 1.92 MB / 0.6513 GB, free: 8.285 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.948e-05/0.4481, allocations: 113.8 kB / 0.6514 GB, free: 8.164 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.553e-06/0.4481, allocations: 0 / 0.6514 GB, free: 8.164 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001002/0.4491, allocations: 0.8825 MB / 0.6522 GB, free: 7.27 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.4491, allocations: 126.7 kB / 0.6523 GB, free: 7.133 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01607/0.4652, allocations: 10.55 MB / 0.6626 GB, free: 12.63 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4652, allocations: 29.7 kB / 0.6627 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.007154/0.4724, allocations: 5.957 MB / 0.6685 GB, free: 6.613 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002726/0.4727, allocations: 99.91 kB / 0.6686 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.4741, allocations: 0.8222 MB / 0.6694 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.4743, allocations: 305.1 kB / 0.6697 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.4757, allocations: 0.7616 MB / 0.6704 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004507/0.4802, allocations: 4.003 MB / 0.6743 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006418/0.4866, allocations: 5.197 MB / 0.6794 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001006/0.4867, allocations: 36 kB / 0.6794 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00961/0.4963, allocations: 4.964 MB / 0.6843 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.4964, allocations: 58.19 kB / 0.6843 GB, free: 3.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001601/0.4966, allocations: 119.9 kB / 0.6845 GB, free: 2.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000175/0.4968, allocations: 152 kB / 0.6846 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002583/0.4994, allocations: 0.9863 MB / 0.6856 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001965/0.4996, allocations: 223.2 kB / 0.6858 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003873/0.5034, allocations: 0.6207 MB / 0.6864 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003952/0.5038, allocations: 284 kB / 0.6867 GB, free: 0.6328 MB / 0.5137 GB 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.005606/0.5094, allocations: 3.405 MB / 0.69 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001448/0.5109, allocations: 0.96 MB / 0.6909 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002069/0.513, allocations: 1.03 MB / 0.6919 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.621e-05/0.513, allocations: 176.3 kB / 0.6921 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-05/0.5131, allocations: 184.2 kB / 0.6923 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.819e-05/0.5132, allocations: 176.3 kB / 0.6924 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009468/0.5227, allocations: 5.106 MB / 0.6974 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.694e-05/0.5227, allocations: 108.9 kB / 0.6975 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.228e-05/0.5228, allocations: 105 kB / 0.6976 GB, free: 5.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.414e-05/0.5228, allocations: 184.2 kB / 0.6978 GB, free: 5.078 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.933e-05/0.5229, allocations: 184.2 kB / 0.698 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.189e-05/0.523, allocations: 180.2 kB / 0.6982 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-05/0.5231, allocations: 176.3 kB / 0.6983 GB, free: 4.527 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001365/0.5245, allocations: 1.203 MB / 0.6995 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/0.5263, allocations: 0.8661 MB / 0.7003 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005127/0.5268, allocations: 188.2 kB / 0.7005 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007956/0.5276, allocations: 101 kB / 0.7006 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.498e-05/0.5277, allocations: 184.3 kB / 0.7008 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.998e-05/0.5277, allocations: 104.9 kB / 0.7009 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01128/0.539, allocations: 7.138 MB / 0.7079 GB, free: 10.73 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.2e-07/0.539, allocations: 0 / 0.7079 GB, free: 10.73 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004147/0.5432, allocations: 1.149 MB / 0.709 GB, free: 9.582 MB / 0.545 GB 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.0002001/0.5434, allocations: 178.5 kB / 0.7092 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003058/0.5464, allocations: 1.805 MB / 0.7109 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.5464, allocations: 0 / 0.7109 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.745e-06/0.5464, allocations: 0 / 0.7109 GB, free: 7.617 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01189/0.5583, allocations: 3.448 MB / 0.7143 GB, free: 4.156 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02756/0.5859, allocations: 15.95 MB / 0.7299 GB, free: 4.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.523/1.109, allocations: 5.266 MB / 0.735 GB, free: 144.4 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006835/1.116, allocations: 2.104 MB / 0.7371 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007399/1.116, allocations: 407.9 kB / 0.7375 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of SimCode: time 2.014e-06/1.116, allocations: 0 / 0.7375 GB, free: 144.2 MB / 0.5607 GB Notification: Performance of Templates: time 0.13/1.246, allocations: 86.03 MB / 0.8215 GB, free: 68.85 MB / 0.5607 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.198547106003389]