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.0009354/0.0009354, allocations: 76.31 kB / 22.21 MB, free: 2.285 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.001074/0.001074, allocations: 170.4 kB / 25.61 MB, free: 8.898 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.9523/0.9523, allocations: 177.2 MB / 206.1 MB, free: 4.512 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.1511/0.1511, allocations: 32.81 MB / 295.4 MB, free: 15.39 MB / 282.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 2.294e-06/2.294e-06, allocations: 4 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.89e-05/3.12e-05, allocations: 2.312 kB / 377.3 MB, free: 25.62 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01225/0.01229, allocations: 9.683 MB / 386.9 MB, free: 15.89 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006152/0.01844, allocations: 3.003 MB / 389.9 MB, free: 12.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001081/0.01952, allocations: 79.62 kB / 390 MB, free: 12.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004005/0.02352, allocations: 2.831 MB / 392.9 MB, free: 9.957 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002071/0.0256, allocations: 1.158 MB / 394 MB, free: 8.793 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000513/0.02611, allocations: 299.3 kB / 394.3 MB, free: 8.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001385/0.02749, allocations: 1.559 MB / 395.9 MB, free: 6.938 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001789/0.02928, allocations: 1.957 MB / 397.8 MB, free: 4.941 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00333/0.03261, allocations: 3.624 MB / 401.4 MB, free: 1.309 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006913/0.0333, allocations: 1.017 MB / 402.5 MB, free: 296 kB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.03347, allocations: 188 kB / 402.6 MB, free: 108 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005087/0.03398, allocations: 295.7 kB / 402.9 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001393/0.03537, allocations: 3.12 MB / 406 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001189/0.03656, allocations: 1.466 MB / 407.5 MB, free: 11.22 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003979/0.04054, allocations: 6.531 MB / 414 MB, free: 4.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.04054, allocations: 3.938 kB / 414.1 MB, free: 4.648 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.04054, allocations: 0 / 414.1 MB, free: 4.648 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001149/0.04066, allocations: 0 / 414.1 MB, free: 4.648 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.007588/0.04825, allocations: 9.86 MB / 423.9 MB, free: 10.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.04829, allocations: 15.98 kB / 423.9 MB, free: 10.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001325/0.04961, allocations: 1.168 MB / 425.1 MB, free: 9.488 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005465/0.05508, allocations: 5.951 MB / 431 MB, free: 3.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.936e-05/0.05517, allocations: 131.3 kB / 431.2 MB, free: 3.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001303/0.0553, allocations: 164 kB / 431.3 MB, free: 3.129 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0027/0.058, allocations: 2.851 MB / 434.2 MB, free: 44 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.074e-05/0.05803, allocations: 7.938 kB / 434.2 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001048/0.05814, allocations: 71.94 kB / 434.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009905/0.05913, allocations: 1.569 MB / 435.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001454/0.06058, allocations: 1.164 MB / 437 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01532/0.0759, allocations: 20.59 MB / 457.6 MB, free: 8.305 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008414/0.07675, allocations: 364.6 kB / 457.9 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.017e-05/0.0768, allocations: 39.67 kB / 458 MB, free: 7.898 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001892/0.07869, allocations: 1.772 MB / 459.7 MB, free: 6.102 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.07873, allocations: 156.6 kB / 459.9 MB, free: 5.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.07873, allocations: 0 / 459.9 MB, free: 5.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0005209/0.07925, allocations: 0.8747 MB / 460.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003193/0.07957, allocations: 170.6 kB / 460.9 MB, free: 4.871 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006611/0.08618, allocations: 8.806 MB / 469.7 MB, free: 12.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.08619, allocations: 29.7 kB / 469.8 MB, free: 12.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003751/0.08994, allocations: 6.477 MB / 476.3 MB, free: 5.574 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.503e-05/0.09, allocations: 95.91 kB / 476.3 MB, free: 5.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005261/0.09052, allocations: 0.8811 MB / 477.2 MB, free: 4.582 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.906e-05/0.09062, allocations: 476.8 kB / 477.7 MB, free: 4.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002334/0.09086, allocations: 268.1 kB / 478 MB, free: 3.844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002454/0.09331, allocations: 5.056 MB / 483 MB, free: 12.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003918/0.09723, allocations: 5.949 MB / 489 MB, free: 4.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.286e-05/0.09727, allocations: 32 kB / 489 MB, free: 4.238 MB / 410.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.005103/0.1024, allocations: 4.139 MB / 493.1 MB, free: 92 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.721e-05/0.1024, allocations: 56 kB / 493.2 MB, free: 36 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2822/0.3846, allocations: 117.1 kB / 493.3 MB, free: 99.64 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/0.3847, allocations: 154.6 kB / 493.5 MB, free: 99.64 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.3863, allocations: 0.9833 MB / 494.4 MB, free: 99.64 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-05/0.3864, allocations: 224.3 kB / 494.7 MB, free: 99.64 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.3889, allocations: 0.6074 MB / 495.3 MB, free: 99.64 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003474/0.3892, allocations: 253.6 kB / 495.5 MB, free: 99.64 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.001224/0.3904, allocations: 0.6575 MB / 496.2 MB, free: 99.36 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004837/0.3909, allocations: 0.9955 MB / 497.2 MB, free: 99.21 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004732/0.3914, allocations: 0.813 MB / 498 MB, free: 98.97 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/0.3914, allocations: 267.5 kB / 498.2 MB, free: 98.71 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.132e-05/0.3914, allocations: 272.5 kB / 498.5 MB, free: 98.44 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.302e-05/0.3915, allocations: 265.7 kB / 498.8 MB, free: 98.18 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002229/0.3937, allocations: 3.147 MB / 0.4901 GB, free: 97.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.3937, allocations: 145.8 kB / 0.4903 GB, free: 97.44 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.299e-05/0.3937, allocations: 157.3 kB / 0.4904 GB, free: 97.29 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.351e-05/0.3938, allocations: 271.5 kB / 0.4907 GB, free: 97.02 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.045e-05/0.3938, allocations: 264.1 kB / 0.4909 GB, free: 96.76 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.516e-05/0.3938, allocations: 275.4 kB / 0.4912 GB, free: 96.49 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.276e-05/0.3938, allocations: 266 kB / 0.4915 GB, free: 96.23 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.3942, allocations: 1.358 MB / 0.4928 GB, free: 95.5 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004582/0.3947, allocations: 0.876 MB / 0.4936 GB, free: 94.86 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/0.3949, allocations: 271.8 kB / 0.4939 GB, free: 94.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004056/0.3953, allocations: 151.4 kB / 0.494 GB, free: 94.45 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.3954, allocations: 271.4 kB / 0.4943 GB, free: 94.18 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.021e-05/0.3954, allocations: 149.7 kB / 0.4944 GB, free: 94.03 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.002514/0.3979, allocations: 4.139 MB / 0.4985 GB, free: 93.7 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.3979, allocations: 3.688 kB / 0.4985 GB, free: 93.7 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.001915/0.3998, allocations: 1.145 MB / 0.4996 GB, free: 93.55 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.0001158/0.3999, allocations: 212.8 kB / 0.4998 GB, free: 93.35 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.4011, allocations: 1.514 MB / 0.5013 GB, free: 93.07 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.4011, allocations: 0 / 0.5013 GB, free: 93.07 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.4011, allocations: 0 / 0.5013 GB, free: 93.07 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005029/0.4061, allocations: 3.683 MB / 0.5049 GB, free: 91.32 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009942/0.4161, allocations: 13.53 MB / 0.5181 GB, free: 78.57 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001168/0.4172, allocations: 2.141 MB / 0.5202 GB, free: 76.82 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.001722/0.4189, allocations: 1.06 MB / 0.5212 GB, free: 75.92 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002163/0.4211, allocations: 1.984 MB / 0.5232 GB, free: 73.98 MB / 410.8 MB Notification: Performance of SimCode: time 9.82e-07/0.4211, allocations: 0 / 0.5232 GB, free: 73.98 MB / 410.8 MB Notification: Performance of Templates: time 0.1013/0.5224, allocations: 91.96 MB / 0.613 GB, free: 0.5117 MB / 426.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.2338963290676475]