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.0009925/0.0009925, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.00105/0.00105, allocations: 158.4 kB / 24.99 MB, free: 9.285 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.9776/0.9776, allocations: 177.1 MB / 205.3 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 179] 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.285/0.285, allocations: 34.26 MB / 296 MB, free: 0.7891 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.462e-06/1.462e-06, allocations: 0 / 378 MB, free: 2.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.193e-05, allocations: 6.25 kB / 378 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.00744/0.007462, allocations: 9.951 MB / 388 MB, free: 8.992 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003931/0.01139, allocations: 3.017 MB / 391 MB, free: 5.965 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004688/0.01186, allocations: 75.62 kB / 391 MB, free: 5.891 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002883/0.01474, allocations: 2.87 MB / 393.9 MB, free: 3.012 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001379/0.01612, allocations: 1.147 MB / 395.1 MB, free: 1.859 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004353/0.01656, allocations: 299.3 kB / 395.4 MB, free: 1.566 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001166/0.01772, allocations: 1.552 MB / 396.9 MB, free: 8 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.0191, allocations: 1.957 MB / 398.9 MB, free: 14.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009708/0.02007, allocations: 1.309 MB / 400.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002649/0.02272, allocations: 3.268 MB / 403.4 MB, free: 9.426 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.02292, allocations: 188 kB / 403.6 MB, free: 9.242 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.02332, allocations: 287.7 kB / 403.9 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001588/0.02491, allocations: 3.116 MB / 407 MB, free: 5.836 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001038/0.02595, allocations: 1.47 MB / 408.5 MB, free: 4.359 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004052/0.03, allocations: 6.257 MB / 414.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.03, allocations: 0 / 414.7 MB, free: 14.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.03001, allocations: 4 kB / 414.8 MB, free: 14.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.537e-05/0.03007, allocations: 0 / 414.8 MB, free: 14.07 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.006798/0.03687, allocations: 9.552 MB / 424.3 MB, free: 4.414 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.03691, allocations: 8.031 kB / 424.3 MB, free: 4.406 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007651/0.03768, allocations: 1.16 MB / 425.5 MB, free: 3.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.04031, allocations: 3.437 MB / 428.9 MB, free: 15.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.04037, allocations: 127.3 kB / 429 MB, free: 15.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.04051, allocations: 167.9 kB / 429.2 MB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002866/0.04337, allocations: 3.114 MB / 432.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-05/0.0434, allocations: 11.88 kB / 432.3 MB, free: 12.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-05/0.04349, allocations: 75.94 kB / 432.4 MB, free: 12.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001021/0.04452, allocations: 1.561 MB / 434 MB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002123/0.04664, allocations: 1.462 MB / 435.4 MB, free: 8.988 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2738/0.3205, allocations: 20.37 MB / 455.8 MB, free: 84.54 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3215, allocations: 356.8 kB / 456.1 MB, free: 84.48 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.865e-05/0.3216, allocations: 46.75 kB / 456.2 MB, free: 84.46 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/0.3236, allocations: 1.859 MB / 458 MB, free: 83.62 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.3237, allocations: 152.6 kB / 458.2 MB, free: 83.46 MB / 410.8 MB Notification: Performance of pre-optimization done (n=0): time 2.685e-06/0.3237, allocations: 0 / 458.2 MB, free: 83.46 MB / 410.8 MB Notification: Performance of matching and sorting (n=0): time 0.000515/0.3242, allocations: 0.8763 MB / 459.1 MB, free: 83.11 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.3242, allocations: 181.5 kB / 459.2 MB, free: 82.93 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006391/0.3306, allocations: 8.926 MB / 468.2 MB, free: 79.73 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 8.076e-06/0.3306, allocations: 25.7 kB / 468.2 MB, free: 79.7 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002624/0.3333, allocations: 6.394 MB / 474.6 MB, free: 75.18 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.114e-05/0.3333, allocations: 91.97 kB / 474.7 MB, free: 75.14 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004467/0.3338, allocations: 0.8586 MB / 475.5 MB, free: 74.66 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.3338, allocations: 479.9 kB / 476 MB, free: 74.2 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.3341, allocations: 331 kB / 476.3 MB, free: 74.15 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/0.3357, allocations: 5.106 MB / 481.4 MB, free: 67.47 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00226/0.338, allocations: 5.983 MB / 487.4 MB, free: 60.14 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.398e-05/0.338, allocations: 35.28 kB / 487.5 MB, free: 60.14 MB / 410.8 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.003778/0.3418, allocations: 4.341 MB / 491.8 MB, free: 58.25 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.1e-05/0.3418, allocations: 55.09 kB / 491.9 MB, free: 58.25 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.527e-05/0.3419, allocations: 117.8 kB / 492 MB, free: 58.25 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/0.342, allocations: 151.6 kB / 492.1 MB, free: 58.25 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/0.3435, allocations: 0.9824 MB / 493.1 MB, free: 58.12 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001263/0.3437, allocations: 231.1 kB / 493.3 MB, free: 58.07 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/0.3455, allocations: 0.6147 MB / 493.9 MB, free: 57.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.3457, allocations: 284 kB / 494.2 MB, free: 57.79 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.001094/0.3468, allocations: 0.6581 MB / 494.9 MB, free: 57.3 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004415/0.3473, allocations: 0.9924 MB / 495.9 MB, free: 56.66 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005079/0.3478, allocations: 0.8148 MB / 496.7 MB, free: 56.24 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/0.3478, allocations: 269.2 kB / 496.9 MB, free: 55.97 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.111e-05/0.3478, allocations: 274.2 kB / 497.2 MB, free: 55.7 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.208e-05/0.3479, allocations: 276.5 kB / 497.5 MB, free: 55.42 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003912/0.3518, allocations: 4.931 MB / 0.4906 GB, free: 53.11 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.016e-05/0.3518, allocations: 144.9 kB / 0.4908 GB, free: 52.96 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.3518, allocations: 154.8 kB / 0.4909 GB, free: 52.8 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.037e-05/0.3518, allocations: 266.2 kB / 0.4912 GB, free: 52.54 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.422e-05/0.3518, allocations: 279.3 kB / 0.4914 GB, free: 52.26 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-05/0.3518, allocations: 266 kB / 0.4917 GB, free: 51.99 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.895e-05/0.3519, allocations: 270 kB / 0.492 GB, free: 51.72 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004334/0.3523, allocations: 1.361 MB / 0.4933 GB, free: 50.7 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005182/0.3528, allocations: 0.8957 MB / 0.4942 GB, free: 50.02 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002511/0.3531, allocations: 272.1 kB / 0.4944 GB, free: 49.75 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004044/0.3535, allocations: 151.1 kB / 0.4946 GB, free: 49.6 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.387e-05/0.3535, allocations: 264.1 kB / 0.4948 GB, free: 49.33 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.3535, allocations: 150.5 kB / 0.495 GB, free: 49.18 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.003686/0.3572, allocations: 4.49 MB / 0.4993 GB, free: 47.86 MB / 410.8 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3572, allocations: 0 / 0.4993 GB, free: 47.86 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.002341/0.3595, allocations: 1.148 MB / 0.5005 GB, free: 47.65 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.0001503/0.3597, allocations: 219.2 kB / 0.5007 GB, free: 47.44 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.00136/0.361, allocations: 1.561 MB / 0.5022 GB, free: 46.36 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.361, allocations: 1.875 kB / 0.5022 GB, free: 46.36 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.3611, allocations: 7.938 kB / 0.5022 GB, free: 46.35 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006045/0.3671, allocations: 3.683 MB / 0.5058 GB, free: 43.36 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01115/0.3782, allocations: 13.4 MB / 0.5189 GB, free: 30.73 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001596/0.3798, allocations: 2.143 MB / 0.521 GB, free: 29.27 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.002994/0.3828, allocations: 1.752 MB / 0.5227 GB, free: 28.06 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.3831, allocations: 404.5 kB / 0.5231 GB, free: 27.67 MB / 410.8 MB Notification: Performance of SimCode: time 1.683e-06/0.3831, allocations: 0 / 0.5231 GB, free: 27.67 MB / 410.8 MB Notification: Performance of Templates: time 0.09624/0.4793, allocations: 83.47 MB / 0.6046 GB, free: 9.992 MB / 474.8 MB " [Timeout remaining time 660] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.993840056937188]