Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009439/0.0009439, allocations: 88.86 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009835/0.0009835, allocations: 159.9 kB / 24.91 MB, free: 8.719 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9226/0.9226, allocations: 177 MB / 205.2 MB, free: 5.035 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2771/0.2771, allocations: 34.86 MB / 296.6 MB, free: 472 kB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 325.9 MB, free: 7.172 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.709e-05, allocations: 2.312 kB / 325.9 MB, free: 7.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.008971/0.008988, allocations: 9.707 MB / 335.6 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005699/0.01469, allocations: 3.142 MB / 338.7 MB, free: 10.26 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.01569, allocations: 75.62 kB / 338.8 MB, free: 10.18 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.01921, allocations: 2.877 MB / 341.7 MB, free: 7.297 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001903/0.02111, allocations: 1.151 MB / 342.8 MB, free: 6.141 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005222/0.02163, allocations: 303.4 kB / 343.1 MB, free: 5.844 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001512/0.02315, allocations: 1.555 MB / 344.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001741/0.02489, allocations: 2.01 MB / 346.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003052/0.02794, allocations: 3.301 MB / 350 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009916/0.02893, allocations: 0.9776 MB / 351 MB, free: 13.94 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005092/0.02944, allocations: 184 kB / 351.2 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004507/0.02989, allocations: 287.8 kB / 351.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.03167, allocations: 3.124 MB / 354.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0012/0.03287, allocations: 1.466 MB / 356 MB, free: 8.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004897/0.03777, allocations: 6.527 MB / 362.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.03777, allocations: 0 / 362.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of FrontEnd: time 9.71e-07/0.03777, allocations: 0 / 362.6 MB, free: 2.316 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.978e-05/0.03785, allocations: 4 kB / 362.6 MB, free: 2.312 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.007354/0.04521, allocations: 9.001 MB / 371.6 MB, free: 9.219 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.04524, allocations: 8.031 kB / 371.6 MB, free: 9.211 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006568/0.0459, allocations: 0.5657 MB / 372.1 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005958/0.05185, allocations: 5.149 MB / 377.3 MB, free: 3.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/0.05194, allocations: 135.3 kB / 377.4 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001767/0.05212, allocations: 163.9 kB / 377.6 MB, free: 3.062 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003199/0.05531, allocations: 2.777 MB / 380.4 MB, free: 112 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.05535, allocations: 7.938 kB / 380.4 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001119/0.05546, allocations: 71.94 kB / 380.4 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001353/0.05681, allocations: 1.565 MB / 382 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.05886, allocations: 1.325 MB / 383.3 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0183/0.07716, allocations: 15.58 MB / 398.9 MB, free: 13.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.07854, allocations: 354 kB / 399.3 MB, free: 12.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.877e-05/0.07859, allocations: 32.84 kB / 399.3 MB, free: 12.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002446/0.08104, allocations: 2.111 MB / 401.4 MB, free: 10.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.064e-05/0.08107, allocations: 105.8 kB / 401.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.08107, allocations: 4 kB / 401.5 MB, free: 10.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.000373/0.08144, allocations: 441.2 kB / 401.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.08148, allocations: 126.7 kB / 402.1 MB, free: 10.05 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004492/0.08598, allocations: 7.077 MB / 409.1 MB, free: 3.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.08598, allocations: 25.7 kB / 409.2 MB, free: 2.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001726/0.08771, allocations: 3.888 MB / 413.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.424e-05/0.08776, allocations: 91.75 kB / 413.1 MB, free: 14.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004693/0.08823, allocations: 0.8022 MB / 413.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.551e-05/0.0883, allocations: 301.1 kB / 414.2 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.08853, allocations: 280.2 kB / 414.5 MB, free: 13.59 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001596/0.09013, allocations: 3.542 MB / 418.1 MB, free: 8.363 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002524/0.09265, allocations: 4.477 MB / 422.5 MB, free: 2.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.024e-05/0.09268, allocations: 36 kB / 422.6 MB, free: 2.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.002784/0.09547, allocations: 3.305 MB / 425.9 MB, free: 14.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.09551, allocations: 56 kB / 425.9 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.929e-05/0.0956, allocations: 119.9 kB / 426 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001329/0.09574, allocations: 152 kB / 426.2 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.09709, allocations: 0.9825 MB / 427.2 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001016/0.09719, allocations: 231.1 kB / 427.4 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.0988, allocations: 0.6091 MB / 428 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001544/0.09895, allocations: 252 kB / 428.3 MB, free: 12.5 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.001164/0.1001, allocations: 0.5779 MB / 428.8 MB, free: 11.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004886/0.1006, allocations: 0.5043 MB / 429.3 MB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005464/0.1012, allocations: 0.7683 MB / 430.1 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/0.1012, allocations: 184.2 kB / 430.3 MB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.739e-05/0.1012, allocations: 180.3 kB / 430.5 MB, free: 10.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.3e-05/0.1013, allocations: 188.2 kB / 430.6 MB, free: 10.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.1031, allocations: 2.253 MB / 432.9 MB, free: 7.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.362e-05/0.1031, allocations: 105 kB / 433 MB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.266e-05/0.1031, allocations: 104.9 kB / 433.1 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-05/0.1031, allocations: 176.3 kB / 433.3 MB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.1032, allocations: 196.1 kB / 433.5 MB, free: 7.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.879e-05/0.1032, allocations: 176.3 kB / 433.6 MB, free: 6.992 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.04e-05/0.1033, allocations: 176.3 kB / 433.8 MB, free: 6.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003727/0.1036, allocations: 0.751 MB / 434.6 MB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006033/0.1042, allocations: 0.8232 MB / 435.4 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002863/0.1045, allocations: 184.2 kB / 435.6 MB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004014/0.1049, allocations: 101 kB / 435.7 MB, free: 4.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.544e-05/0.105, allocations: 192.2 kB / 435.9 MB, free: 4.715 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.105, allocations: 101 kB / 435.9 MB, free: 4.609 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002443/0.1074, allocations: 3.57 MB / 439.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1074, allocations: 0 / 439.5 MB, free: 1.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00203/0.1095, allocations: 1.149 MB / 440.7 MB, free: 15.93 MB / 426.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.0001279/0.1096, allocations: 159.7 kB / 440.8 MB, free: 15.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.1107, allocations: 1.44 MB / 442.3 MB, free: 14.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001308/0.1109, allocations: 156.2 kB / 442.4 MB, free: 14.18 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.116e-06/0.1109, allocations: 3.938 kB / 442.4 MB, free: 14.17 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005326/0.1162, allocations: 3.428 MB / 445.8 MB, free: 10.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2426/0.3588, allocations: 13.67 MB / 459.5 MB, free: 119.6 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/0.3607, allocations: 2.139 MB / 461.7 MB, free: 119.4 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.002763/0.3635, allocations: 1.057 MB / 462.7 MB, free: 119.2 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003037/0.3665, allocations: 1.754 MB / 464.5 MB, free: 119.1 MB / 426.8 MB Notification: Performance of SimCode: time 1.593e-06/0.3665, allocations: 0 / 464.5 MB, free: 119.1 MB / 426.8 MB Notification: Performance of Templates: time 0.0981/0.4646, allocations: 90.82 MB / 0.5423 GB, free: 34.61 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_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.482581606134772]