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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001189/0.001189, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001149/0.001149, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2087/0.2087, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 79.88 kB / 481.3 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4054, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01129/0.4167, allocations: 10.37 MB / 0.5411 GB, free: 5.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.007626/0.4244, allocations: 3.079 MB / 0.5441 GB, free: 3.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002016/0.4265, allocations: 66.78 kB / 0.5442 GB, free: 3.027 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005028/0.4315, allocations: 2.674 MB / 0.5468 GB, free: 1.242 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00293/0.4345, allocations: 1.033 MB / 0.5478 GB, free: 472 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006023/0.4351, allocations: 267.5 kB / 0.548 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002019/0.4371, allocations: 1.513 MB / 0.5495 GB, free: 14.68 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002477/0.4396, allocations: 2.445 MB / 0.5519 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001113/0.4407, allocations: 0.9108 MB / 0.5528 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004276/0.445, allocations: 3.32 MB / 0.556 GB, free: 7.957 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004172/0.4455, allocations: 188 kB / 0.5562 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006656/0.4461, allocations: 279.8 kB / 0.5565 GB, free: 7.5 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002101/0.4483, allocations: 2.973 MB / 0.5594 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002976/0.4512, allocations: 3.337 MB / 0.5627 GB, free: 1.156 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0126/0.4639, allocations: 9.758 MB / 0.5722 GB, free: 7.359 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.4639, allocations: 0 / 0.5722 GB, free: 7.359 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.006e-06/0.4639, allocations: 0 / 0.5722 GB, free: 7.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004808/0.4644, allocations: 0 / 0.5722 GB, free: 7.359 MB / 430.1 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.0171/0.4815, allocations: 8.769 MB / 0.5807 GB, free: 14.48 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.4816, allocations: 16.03 kB / 0.5808 GB, free: 14.46 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.4831, allocations: 0.9666 MB / 0.5817 GB, free: 13.48 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006514/0.4896, allocations: 3.741 MB / 0.5854 GB, free: 9.664 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001037/0.4897, allocations: 127.4 kB / 0.5855 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002298/0.49, allocations: 175.9 kB / 0.5856 GB, free: 9.367 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008883/0.4989, allocations: 6.601 MB / 0.5921 GB, free: 2.586 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/0.4989, allocations: 7.938 kB / 0.5921 GB, free: 2.578 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001916/0.4991, allocations: 79.94 kB / 0.5922 GB, free: 2.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001977/0.5011, allocations: 1.572 MB / 0.5937 GB, free: 0.9258 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007912/0.509, allocations: 4.125 MB / 0.5977 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03317/0.5423, allocations: 20.23 MB / 0.6175 GB, free: 8.293 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.5439, allocations: 342.1 kB / 0.6178 GB, free: 7.949 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001257/0.544, allocations: 60.86 kB / 0.6179 GB, free: 7.887 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005495/0.5495, allocations: 3.264 MB / 0.6211 GB, free: 4.262 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.534e-05/0.5496, allocations: 105.8 kB / 0.6212 GB, free: 4.148 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 2.284e-06/0.5496, allocations: 0 / 0.6212 GB, free: 4.148 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.0009566/0.5506, allocations: 0.8347 MB / 0.622 GB, free: 3.297 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.839e-05/0.5507, allocations: 130.7 kB / 0.6221 GB, free: 3.156 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01743/0.5681, allocations: 10.55 MB / 0.6324 GB, free: 8.66 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.402e-05/0.5682, allocations: 29.64 kB / 0.6324 GB, free: 8.625 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005681/0.5739, allocations: 5.826 MB / 0.6381 GB, free: 2.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/0.5741, allocations: 95.84 kB / 0.6382 GB, free: 2.66 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00102/0.5751, allocations: 0.8174 MB / 0.639 GB, free: 1.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.5752, allocations: 305.1 kB / 0.6393 GB, free: 1.527 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001021/0.5762, allocations: 0.7616 MB / 0.6401 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003048/0.5793, allocations: 4.007 MB / 0.644 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005001/0.5843, allocations: 5.193 MB / 0.649 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.117e-05/0.5844, allocations: 32 kB / 0.6491 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008328/0.5927, allocations: 4.924 MB / 0.6539 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.905e-05/0.5928, allocations: 56 kB / 0.6539 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/0.593, allocations: 116 kB / 0.654 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001345/0.5931, allocations: 152 kB / 0.6542 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002828/0.596, allocations: 0.9831 MB / 0.6551 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002008/0.5962, allocations: 231.1 kB / 0.6554 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004621/0.6008, allocations: 0.6069 MB / 0.656 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005278/0.6014, allocations: 288 kB / 0.6562 GB, free: 12.83 MB / 0.5137 GB 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.006387/0.6078, allocations: 3.417 MB / 0.6596 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00148/0.6093, allocations: 0.9083 MB / 0.6605 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002235/0.6115, allocations: 1.027 MB / 0.6615 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.221e-05/0.6116, allocations: 176.3 kB / 0.6616 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.087e-05/0.6117, allocations: 176.3 kB / 0.6618 GB, free: 7.074 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-05/0.6117, allocations: 188.2 kB / 0.662 GB, free: 6.883 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01009/0.6218, allocations: 5.135 MB / 0.667 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.185e-05/0.6219, allocations: 108.9 kB / 0.6671 GB, free: 1.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.622, allocations: 101 kB / 0.6672 GB, free: 1.461 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.932e-05/0.6221, allocations: 176.3 kB / 0.6674 GB, free: 1.281 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.715e-05/0.6221, allocations: 184.2 kB / 0.6675 GB, free: 1.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.373e-05/0.6222, allocations: 188.2 kB / 0.6677 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.034e-05/0.6223, allocations: 180.2 kB / 0.6679 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001837/0.6241, allocations: 1.152 MB / 0.669 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001893/0.626, allocations: 0.9014 MB / 0.6699 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004829/0.6265, allocations: 184.2 kB / 0.6701 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007407/0.6273, allocations: 112.9 kB / 0.6702 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.278e-05/0.6273, allocations: 176.3 kB / 0.6703 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.101e-05/0.6274, allocations: 104.9 kB / 0.6704 GB, free: 14 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01312/0.6405, allocations: 7.142 MB / 0.6774 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6406, allocations: 0 / 0.6774 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005003/0.6456, allocations: 1.132 MB / 0.6785 GB, free: 5.77 MB / 0.5294 GB 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.0002049/0.6458, allocations: 174.5 kB / 0.6787 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003113/0.6489, allocations: 1.867 MB / 0.6805 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6489, allocations: 0.5 kB / 0.6805 GB, free: 3.746 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.6489, allocations: 8 kB / 0.6805 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01388/0.6628, allocations: 3.447 MB / 0.6839 GB, free: 284 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02959/0.6924, allocations: 15.65 MB / 0.6992 GB, free: 0.5898 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009471/0.702, allocations: 5.274 MB / 0.7043 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.007026/0.709, allocations: 2.094 MB / 0.7064 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.7102, allocations: 403.4 kB / 0.7068 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of SimCode: time 2.023e-06/0.7102, allocations: 0 / 0.7068 GB, free: 8.781 MB / 0.5606 GB Notification: Performance of Templates: time 0.6601/1.37, allocations: 84.57 MB / 0.7893 GB, free: 95.53 MB / 0.5607 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches