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.001128/0.001128, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001591/0.001591, allocations: 165.8 kB / 24.99 MB, free: 8.797 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.9464/0.9464, allocations: 177.1 MB / 205.3 MB, free: 5.652 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.2472/0.2472, allocations: 32.8 MB / 294.6 MB, free: 1.273 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.322e-06/1.322e-06, allocations: 0 / 376 MB, free: 5.023 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.413e-05/1.545e-05, allocations: 2.312 kB / 376 MB, free: 5.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.008503/0.008518, allocations: 9.948 MB / 385.9 MB, free: 11.02 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004937/0.01345, allocations: 3.013 MB / 388.9 MB, free: 8 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001028/0.01448, allocations: 79.62 kB / 389 MB, free: 7.922 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002981/0.01746, allocations: 2.87 MB / 391.9 MB, free: 5.043 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001925/0.01939, allocations: 1.143 MB / 393 MB, free: 3.895 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005005/0.01989, allocations: 299.3 kB / 393.3 MB, free: 3.602 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001511/0.0214, allocations: 1.567 MB / 394.9 MB, free: 2.031 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001645/0.02305, allocations: 1.957 MB / 396.8 MB, free: 36 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001231/0.02428, allocations: 1.298 MB / 398.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002772/0.02705, allocations: 3.276 MB / 401.4 MB, free: 11.45 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002602/0.02731, allocations: 188 kB / 401.6 MB, free: 11.27 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004113/0.02772, allocations: 287.8 kB / 401.9 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001458/0.02918, allocations: 3.116 MB / 405 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.03033, allocations: 1.47 MB / 406.5 MB, free: 6.387 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004799/0.03513, allocations: 6.261 MB / 412.7 MB, free: 100 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.03513, allocations: 0 / 412.7 MB, free: 100 kB / 378.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.03513, allocations: 0 / 412.7 MB, free: 100 kB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002247/0.03536, allocations: 0 / 412.7 MB, free: 100 kB / 378.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.007957/0.04331, allocations: 9.552 MB / 422.3 MB, free: 6.441 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.04336, allocations: 12.03 kB / 422.3 MB, free: 6.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008951/0.04425, allocations: 1.156 MB / 423.5 MB, free: 5.266 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003151/0.0474, allocations: 3.43 MB / 426.9 MB, free: 1.777 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.603e-05/0.04749, allocations: 131.3 kB / 427 MB, free: 1.648 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.04764, allocations: 171.9 kB / 427.2 MB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.05111, allocations: 3.114 MB / 430.3 MB, free: 14.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.114e-05/0.05114, allocations: 7.938 kB / 430.3 MB, free: 14.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.315e-05/0.05123, allocations: 79.95 kB / 430.4 MB, free: 14.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001081/0.05231, allocations: 1.561 MB / 431.9 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002783/0.0551, allocations: 1.458 MB / 433.4 MB, free: 11.02 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3249/0.38, allocations: 20.37 MB / 453.8 MB, free: 71.28 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/0.381, allocations: 359.7 kB / 454.1 MB, free: 71.24 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.372e-05/0.381, allocations: 47.77 kB / 454.2 MB, free: 71.23 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002121/0.3832, allocations: 1.856 MB / 456 MB, free: 70.62 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3832, allocations: 159.4 kB / 456.2 MB, free: 70.46 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.3832, allocations: 0 / 456.2 MB, free: 70.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.0004877/0.3837, allocations: 0.8745 MB / 457 MB, free: 70.2 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3837, allocations: 177.1 kB / 457.2 MB, free: 70.02 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006459/0.3902, allocations: 8.924 MB / 466.1 MB, free: 68.13 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.3902, allocations: 25.7 kB / 466.2 MB, free: 68.1 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002682/0.3929, allocations: 6.393 MB / 472.6 MB, free: 63.57 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.103e-05/0.3929, allocations: 93.97 kB / 472.7 MB, free: 63.54 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004607/0.3934, allocations: 0.858 MB / 473.5 MB, free: 63.06 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.161e-05/0.3934, allocations: 480.7 kB / 474 MB, free: 62.59 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.3938, allocations: 339.6 kB / 474.3 MB, free: 62.54 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.3952, allocations: 5.098 MB / 479.4 MB, free: 55.92 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/0.3978, allocations: 5.983 MB / 485.4 MB, free: 49.07 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.257e-05/0.3978, allocations: 35.81 kB / 485.4 MB, free: 49.07 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.005761/0.4036, allocations: 4.338 MB / 489.8 MB, free: 47.72 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.462e-05/0.4037, allocations: 55.66 kB / 489.8 MB, free: 47.72 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001192/0.4038, allocations: 117.6 kB / 489.9 MB, free: 47.72 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001442/0.4039, allocations: 152.5 kB / 490.1 MB, free: 47.72 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002076/0.406, allocations: 0.9872 MB / 491.1 MB, free: 47.59 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001674/0.4062, allocations: 233 kB / 491.3 MB, free: 47.53 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003298/0.4095, allocations: 0.607 MB / 491.9 MB, free: 47.29 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003451/0.4098, allocations: 288.2 kB / 492.2 MB, free: 47.25 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.001561/0.4114, allocations: 0.6655 MB / 492.9 MB, free: 46.76 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008948/0.4123, allocations: 0.9899 MB / 493.8 MB, free: 46.12 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008403/0.4131, allocations: 0.8079 MB / 494.7 MB, free: 45.7 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.603e-05/0.4131, allocations: 273.5 kB / 494.9 MB, free: 45.43 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3e-05/0.4132, allocations: 269.2 kB / 495.2 MB, free: 45.16 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/0.4132, allocations: 265.5 kB / 495.4 MB, free: 44.9 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005741/0.4189, allocations: 4.948 MB / 0.4887 GB, free: 42.57 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.57e-05/0.419, allocations: 146.1 kB / 0.4888 GB, free: 42.42 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.65e-05/0.419, allocations: 150.2 kB / 0.4889 GB, free: 42.27 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.802e-05/0.419, allocations: 269.5 kB / 0.4892 GB, free: 42 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.419, allocations: 268.8 kB / 0.4895 GB, free: 41.73 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-05/0.4191, allocations: 271 kB / 0.4897 GB, free: 41.46 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.482e-05/0.4191, allocations: 269.5 kB / 0.49 GB, free: 41.2 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009372/0.42, allocations: 1.365 MB / 0.4913 GB, free: 40.17 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008466/0.4209, allocations: 0.8949 MB / 0.4922 GB, free: 39.49 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000385/0.4212, allocations: 269.5 kB / 0.4924 GB, free: 39.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006254/0.4219, allocations: 148.4 kB / 0.4926 GB, free: 39.08 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.4219, allocations: 270.4 kB / 0.4928 GB, free: 38.81 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.037e-05/0.4219, allocations: 144.9 kB / 0.493 GB, free: 38.66 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.005131/0.427, allocations: 4.49 MB / 0.4974 GB, free: 37.34 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.427, allocations: 7.594 kB / 0.4974 GB, free: 37.34 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004016/0.4311, allocations: 1.147 MB / 0.4985 GB, free: 37.12 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.0001489/0.4312, allocations: 213.2 kB / 0.4987 GB, free: 36.92 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.002319/0.4335, allocations: 1.566 MB / 0.5002 GB, free: 36.34 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4335, allocations: 4.062 kB / 0.5002 GB, free: 36.34 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.396e-06/0.4335, allocations: 0 / 0.5002 GB, free: 36.34 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008318/0.4418, allocations: 3.687 MB / 0.5038 GB, free: 34.63 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01605/0.4579, allocations: 13.4 MB / 0.5169 GB, free: 24.01 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002528/0.4604, allocations: 2.144 MB / 0.519 GB, free: 22.54 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.004851/0.4653, allocations: 1.752 MB / 0.5207 GB, free: 21.34 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005338/0.4658, allocations: 404.4 kB / 0.5211 GB, free: 20.95 MB / 410.8 MB Notification: Performance of SimCode: time 2.194e-06/0.4658, allocations: 0 / 0.5211 GB, free: 20.95 MB / 410.8 MB Notification: Performance of Templates: time 0.09893/0.5647, allocations: 83.48 MB / 0.6026 GB, free: 4.781 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.014107947004959]