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.001365/0.001365, allocations: 112.5 kB / 21.19 MB, free: 0.7539 MB / 14.72 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.00161/0.00161, allocations: 213.7 kB / 24.49 MB, free: 4.137 MB / 14.72 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.463/1.463, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.2158/0.2158, allocations: 44.91 MB / 359.6 MB, free: 6.246 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 72.17 kB / 0.4943 GB, free: 10.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3145, allocations: 65.47 MB / 0.5582 GB, free: 7.664 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01256/0.327, allocations: 10.43 MB / 0.5684 GB, free: 13.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006631/0.3337, allocations: 3.106 MB / 0.5715 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.3349, allocations: 79.62 kB / 0.5715 GB, free: 10.01 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005175/0.3401, allocations: 2.726 MB / 0.5742 GB, free: 7.273 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002787/0.3429, allocations: 1.132 MB / 0.5753 GB, free: 6.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006696/0.3435, allocations: 259.5 kB / 0.5755 GB, free: 5.883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002185/0.3457, allocations: 1.517 MB / 0.577 GB, free: 4.359 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002577/0.3483, allocations: 1.924 MB / 0.5789 GB, free: 2.398 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001415/0.3497, allocations: 0.9304 MB / 0.5798 GB, free: 1.465 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005005/0.3547, allocations: 3.431 MB / 0.5832 GB, free: 14.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005651/0.3553, allocations: 188 kB / 0.5833 GB, free: 13.84 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007916/0.3561, allocations: 275.8 kB / 0.5836 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00282/0.3589, allocations: 3.017 MB / 0.5866 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003645/0.3625, allocations: 3.333 MB / 0.5898 GB, free: 7.188 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.3727, allocations: 9.87 MB / 0.5994 GB, free: 13.27 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.995e-06/0.3727, allocations: 4 kB / 0.5995 GB, free: 13.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3727, allocations: 4 kB / 0.5995 GB, free: 13.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001723/0.3729, allocations: 0 / 0.5995 GB, free: 13.26 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.01233/0.3853, allocations: 9.035 MB / 0.6083 GB, free: 4.129 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.3853, allocations: 12.03 kB / 0.6083 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.3865, allocations: 1.024 MB / 0.6093 GB, free: 3.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005914/0.3924, allocations: 3.739 MB / 0.6129 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000102/0.3925, allocations: 131.3 kB / 0.6131 GB, free: 15.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002308/0.3928, allocations: 167.9 kB / 0.6132 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008444/0.4012, allocations: 6.616 MB / 0.6197 GB, free: 8.199 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.4013, allocations: 7.938 kB / 0.6197 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.4014, allocations: 71.95 kB / 0.6198 GB, free: 8.121 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001709/0.4031, allocations: 1.572 MB / 0.6213 GB, free: 6.547 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006977/0.4101, allocations: 4.121 MB / 0.6253 GB, free: 2.422 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02863/0.4387, allocations: 20.25 MB / 0.6451 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001549/0.4403, allocations: 341.8 kB / 0.6454 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.4404, allocations: 60.86 kB / 0.6455 GB, free: 13.49 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004327/0.4447, allocations: 1.928 MB / 0.6474 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.789e-05/0.4448, allocations: 105.8 kB / 0.6475 GB, free: 11.42 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.723e-06/0.4448, allocations: 0 / 0.6475 GB, free: 11.42 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0009603/0.4457, allocations: 0.8864 MB / 0.6483 GB, free: 10.52 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.35e-05/0.4458, allocations: 126.7 kB / 0.6485 GB, free: 10.39 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0146/0.4604, allocations: 10.55 MB / 0.6588 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/0.4604, allocations: 29.7 kB / 0.6588 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.005663/0.4661, allocations: 5.965 MB / 0.6646 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.4662, allocations: 91.91 kB / 0.6647 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009461/0.4672, allocations: 0.8261 MB / 0.6655 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.4673, allocations: 305.1 kB / 0.6658 GB, free: 8.629 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.4684, allocations: 0.7616 MB / 0.6665 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003997/0.4724, allocations: 3.995 MB / 0.6704 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005758/0.4782, allocations: 5.197 MB / 0.6755 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.896e-05/0.4782, allocations: 39.98 kB / 0.6756 GB, free: 11.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007878/0.4861, allocations: 4.964 MB / 0.6804 GB, free: 6.316 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.392e-05/0.4862, allocations: 56 kB / 0.6805 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001314/0.4863, allocations: 116 kB / 0.6806 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.4865, allocations: 152 kB / 0.6807 GB, free: 6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.4889, allocations: 0.9825 MB / 0.6817 GB, free: 5.016 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002039/0.4891, allocations: 231.1 kB / 0.6819 GB, free: 4.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003201/0.4923, allocations: 0.6208 MB / 0.6825 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000283/0.4925, allocations: 284 kB / 0.6828 GB, free: 3.887 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.004811/0.4974, allocations: 3.413 MB / 0.6861 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001063/0.4984, allocations: 0.9602 MB / 0.687 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.4998, allocations: 1.026 MB / 0.688 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.119e-05/0.4999, allocations: 176.3 kB / 0.6882 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.728e-05/0.5, allocations: 184.3 kB / 0.6884 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-05/0.5001, allocations: 180.2 kB / 0.6886 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006212/0.5063, allocations: 5.11 MB / 0.6935 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-05/0.5063, allocations: 104.9 kB / 0.6936 GB, free: 8.621 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.5064, allocations: 101 kB / 0.6937 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.23e-05/0.5065, allocations: 176.3 kB / 0.6939 GB, free: 8.336 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/0.5065, allocations: 188.2 kB / 0.6941 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.168e-05/0.5066, allocations: 176.3 kB / 0.6943 GB, free: 7.965 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.354e-05/0.5067, allocations: 188.2 kB / 0.6944 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.5077, allocations: 1.199 MB / 0.6956 GB, free: 6.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001473/0.5092, allocations: 0.87 MB / 0.6965 GB, free: 5.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004925/0.5097, allocations: 176.3 kB / 0.6966 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007671/0.5104, allocations: 116.9 kB / 0.6967 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.27e-05/0.5105, allocations: 180.3 kB / 0.6969 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.446e-05/0.5106, allocations: 101 kB / 0.697 GB, free: 5.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01033/0.5209, allocations: 7.146 MB / 0.704 GB, free: 13.98 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5209, allocations: 0 / 0.704 GB, free: 13.98 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003926/0.5249, allocations: 1.149 MB / 0.7051 GB, free: 12.82 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.0001866/0.525, allocations: 170.5 kB / 0.7053 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002966/0.528, allocations: 1.812 MB / 0.707 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.528, allocations: 0 / 0.707 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.395e-06/0.528, allocations: 0.625 kB / 0.707 GB, free: 10.86 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01234/0.5403, allocations: 3.45 MB / 0.7104 GB, free: 7.398 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02788/0.5682, allocations: 16.69 MB / 0.7267 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006184/0.5744, allocations: 5.277 MB / 0.7319 GB, free: 1.332 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/0.5753, allocations: 431.4 kB / 0.7323 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of SimCode: time 1.042e-06/0.5753, allocations: 0 / 0.7323 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of Templates: time 0.611/1.186, allocations: 127.7 MB / 0.8569 GB, free: 34.87 MB / 0.5607 GB " [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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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: 23.318981155985966]