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.00152/0.00152, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.00173/0.00173, allocations: 161 kB / 24.55 MB, free: 20 kB / 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.993/0.993, allocations: 177.1 MB / 205 MB, free: 5.219 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.2799/0.2799, allocations: 32.8 MB / 294.3 MB, free: 1.172 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.743e-06/1.743e-06, allocations: 0 / 376 MB, free: 4.676 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.949e-05/2.123e-05, allocations: 2.312 kB / 376 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.008359/0.00838, allocations: 9.968 MB / 386 MB, free: 10.65 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.004791/0.01317, allocations: 3.024 MB / 389 MB, free: 7.617 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009302/0.0141, allocations: 79.62 kB / 389.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002757/0.01686, allocations: 2.874 MB / 391.9 MB, free: 4.656 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001622/0.01848, allocations: 1.143 MB / 393.1 MB, free: 3.508 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.01893, allocations: 307.2 kB / 393.4 MB, free: 3.207 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.02001, allocations: 1.552 MB / 394.9 MB, free: 1.648 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.02135, allocations: 1.961 MB / 396.9 MB, free: 15.64 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009217/0.02228, allocations: 1.305 MB / 398.2 MB, free: 14.34 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002439/0.02471, allocations: 3.268 MB / 401.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002274/0.02494, allocations: 188 kB / 401.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004068/0.02535, allocations: 291.8 kB / 401.9 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001381/0.02673, allocations: 3.116 MB / 405.1 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009432/0.02767, allocations: 1.462 MB / 406.5 MB, free: 6.004 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.03129, allocations: 6.265 MB / 412.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.0313, allocations: 0 / 412.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.0313, allocations: 0 / 412.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.612e-05/0.03137, allocations: 0 / 412.8 MB, free: 15.71 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.006456/0.03783, allocations: 9.556 MB / 422.3 MB, free: 6.055 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.03787, allocations: 12.03 kB / 422.3 MB, free: 6.043 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006923/0.03856, allocations: 1.164 MB / 423.5 MB, free: 4.871 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002449/0.04101, allocations: 3.426 MB / 426.9 MB, free: 1.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.324e-05/0.04107, allocations: 131.3 kB / 427.1 MB, free: 1.258 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.0412, allocations: 163.9 kB / 427.2 MB, free: 1.098 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002897/0.0441, allocations: 3.122 MB / 430.3 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.04412, allocations: 7.938 kB / 430.4 MB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.718e-05/0.04421, allocations: 79.94 kB / 430.4 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009503/0.04516, allocations: 1.553 MB / 432 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002061/0.04722, allocations: 1.456 MB / 433.4 MB, free: 10.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1682/0.2154, allocations: 20.38 MB / 453.8 MB, free: 84.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008538/0.2162, allocations: 352.9 kB / 454.2 MB, free: 84.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.076e-05/0.2163, allocations: 47.17 kB / 454.2 MB, free: 84.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002094/0.2184, allocations: 1.855 MB / 456.1 MB, free: 83.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.2184, allocations: 159.1 kB / 456.2 MB, free: 83.31 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.2184, allocations: 4 kB / 456.2 MB, free: 83.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004679/0.2189, allocations: 0.8754 MB / 457.1 MB, free: 83.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.906e-05/0.2189, allocations: 170.6 kB / 457.3 MB, free: 82.85 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006738/0.2257, allocations: 8.927 MB / 466.2 MB, free: 80.13 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.441e-06/0.2257, allocations: 29.2 kB / 466.2 MB, free: 80.1 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002541/0.2282, allocations: 6.395 MB / 472.6 MB, free: 75.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.097e-05/0.2283, allocations: 91.89 kB / 472.7 MB, free: 75.08 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004439/0.2287, allocations: 0.8555 MB / 473.6 MB, free: 74.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.747e-05/0.2287, allocations: 484.1 kB / 474 MB, free: 74.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003375/0.2291, allocations: 331.5 kB / 474.4 MB, free: 74.08 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.2304, allocations: 5.106 MB / 479.5 MB, free: 67.46 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002325/0.2328, allocations: 5.987 MB / 485.5 MB, free: 60.33 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.019e-05/0.2328, allocations: 33.34 kB / 485.5 MB, free: 60.33 MB / 410.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.003723/0.2365, allocations: 4.344 MB / 489.8 MB, free: 58.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.133e-05/0.2366, allocations: 56.12 kB / 489.9 MB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001098/0.2367, allocations: 117 kB / 490 MB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001461/0.2369, allocations: 151.8 kB / 490.2 MB, free: 58.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.2383, allocations: 0.9799 MB / 491.1 MB, free: 58.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001295/0.2384, allocations: 229.4 kB / 491.4 MB, free: 58.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.2401, allocations: 0.6094 MB / 492 MB, free: 57.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/0.2404, allocations: 287.8 kB / 492.2 MB, free: 57.84 MB / 410.7 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.0008806/0.2413, allocations: 0.6648 MB / 492.9 MB, free: 57.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000446/0.2417, allocations: 0.9904 MB / 493.9 MB, free: 56.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004849/0.2422, allocations: 0.8132 MB / 494.7 MB, free: 56.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.106e-05/0.2422, allocations: 273.1 kB / 495 MB, free: 55.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.768e-05/0.2422, allocations: 265.5 kB / 495.2 MB, free: 55.68 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.977e-05/0.2423, allocations: 269.5 kB / 495.5 MB, free: 55.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003799/0.2461, allocations: 4.94 MB / 0.4887 GB, free: 53.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.2461, allocations: 150.2 kB / 0.4889 GB, free: 52.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/0.2461, allocations: 146.3 kB / 0.489 GB, free: 52.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.075e-05/0.2461, allocations: 269.5 kB / 0.4893 GB, free: 52.51 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.442e-05/0.2461, allocations: 269.4 kB / 0.4895 GB, free: 52.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.049e-05/0.2462, allocations: 269 kB / 0.4898 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.61e-05/0.2462, allocations: 272.6 kB / 0.49 GB, free: 51.71 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004637/0.2466, allocations: 1.361 MB / 0.4914 GB, free: 50.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/0.2472, allocations: 0.9031 MB / 0.4922 GB, free: 50 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.2474, allocations: 264.1 kB / 0.4925 GB, free: 49.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/0.2478, allocations: 155.4 kB / 0.4926 GB, free: 49.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.248e-05/0.2478, allocations: 268.1 kB / 0.4929 GB, free: 49.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.2478, allocations: 150.4 kB / 0.493 GB, free: 49.17 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003646/0.2515, allocations: 4.482 MB / 0.4974 GB, free: 47.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2515, allocations: 0 / 0.4974 GB, free: 47.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002064/0.2535, allocations: 1.152 MB / 0.4985 GB, free: 47.51 MB / 410.7 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.0001216/0.2537, allocations: 221.5 kB / 0.4988 GB, free: 47.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.255, allocations: 1.556 MB / 0.5003 GB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.255, allocations: 3.219 kB / 0.5003 GB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.255, allocations: 4.625 kB / 0.5003 GB, free: 46.73 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005595/0.2606, allocations: 3.689 MB / 0.5039 GB, free: 44.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01085/0.2715, allocations: 13.4 MB / 0.517 GB, free: 32.1 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.273, allocations: 2.14 MB / 0.5191 GB, free: 30.64 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002723/0.2758, allocations: 1.754 MB / 0.5208 GB, free: 29.43 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002646/0.276, allocations: 400.5 kB / 0.5212 GB, free: 29.04 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/0.276, allocations: 0 / 0.5212 GB, free: 29.04 MB / 410.7 MB Notification: Performance of Templates: time 0.09906/0.3751, allocations: 83.48 MB / 0.6027 GB, free: 11.93 MB / 474.7 MB " [Timeout remaining time 660] 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: 4.992202406283468]