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.001145/0.001145, allocations: 115.8 kB / 18.4 MB, free: 4.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 203.4 kB / 19.35 MB, free: 3.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.317/1.317, allocations: 227.4 MB / 247.5 MB, free: 10.37 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.203/0.203, allocations: 46.1 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 72.45 kB / 419 MB, free: 19.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1103, allocations: 62.45 MB / 481.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01106/0.1214, allocations: 10.37 MB / 491.8 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006712/0.1281, allocations: 3.067 MB / 494.9 MB, free: 7.062 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001549/0.1297, allocations: 67.81 kB / 495 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0046/0.1344, allocations: 2.687 MB / 497.6 MB, free: 4.301 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002431/0.1368, allocations: 1.027 MB / 498.7 MB, free: 3.27 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005507/0.1374, allocations: 267.5 kB / 498.9 MB, free: 3.008 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001565/0.139, allocations: 1.51 MB / 0.4887 GB, free: 1.492 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002251/0.1412, allocations: 2.441 MB / 0.4911 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001013/0.1423, allocations: 0.946 MB / 0.492 GB, free: 14.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003698/0.146, allocations: 3.316 MB / 0.4953 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003132/0.1463, allocations: 188 kB / 0.4954 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005807/0.1469, allocations: 271.8 kB / 0.4957 GB, free: 10.3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002102/0.149, allocations: 2.915 MB / 0.4985 GB, free: 7.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002976/0.152, allocations: 3.337 MB / 0.5018 GB, free: 4.008 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2221/0.3741, allocations: 9.526 MB / 0.5111 GB, free: 22.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.3741, allocations: 0 / 0.5111 GB, free: 22.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3742, allocations: 0 / 0.5111 GB, free: 22.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005895/0.3747, allocations: 1.375 kB / 0.5111 GB, free: 22.07 MB / 382.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.02466/0.3994, allocations: 8.77 MB / 0.5197 GB, free: 17.55 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/0.3995, allocations: 8.344 kB / 0.5197 GB, free: 17.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002423/0.4019, allocations: 0.9675 MB / 0.5206 GB, free: 16.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008466/0.4104, allocations: 3.752 MB / 0.5243 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.4106, allocations: 127.6 kB / 0.5244 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006377/0.4112, allocations: 169.6 kB / 0.5246 GB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.4218, allocations: 6.603 MB / 0.531 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/0.4219, allocations: 8.562 kB / 0.531 GB, free: 12.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.4222, allocations: 77.12 kB / 0.5311 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001533/0.4238, allocations: 1.56 MB / 0.5326 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006761/0.4306, allocations: 4.132 MB / 0.5367 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03402/0.4646, allocations: 20.23 MB / 0.5564 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.4662, allocations: 341 kB / 0.5567 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000141/0.4664, allocations: 56.83 kB / 0.5568 GB, free: 8.066 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008282/0.4747, allocations: 3.269 MB / 0.56 GB, free: 4.449 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.774e-05/0.4748, allocations: 108.8 kB / 0.5601 GB, free: 4.336 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 2.445e-06/0.4748, allocations: 0 / 0.5601 GB, free: 4.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.002439/0.4773, allocations: 0.8308 MB / 0.5609 GB, free: 3.488 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/0.4773, allocations: 130.7 kB / 0.561 GB, free: 3.348 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02209/0.4994, allocations: 10.54 MB / 0.5713 GB, free: 8.859 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.694e-05/0.4995, allocations: 29.7 kB / 0.5714 GB, free: 8.824 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006639/0.5061, allocations: 5.829 MB / 0.577 GB, free: 3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.5063, allocations: 91.91 kB / 0.5771 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.5075, allocations: 0.8174 MB / 0.5779 GB, free: 2.078 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.5076, allocations: 306.2 kB / 0.5782 GB, free: 1.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009973/0.5086, allocations: 0.7612 MB / 0.579 GB, free: 1.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002951/0.5115, allocations: 3.996 MB / 0.5829 GB, free: 11.39 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004653/0.5162, allocations: 5.209 MB / 0.588 GB, free: 5.012 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.852e-05/0.5163, allocations: 32 kB / 0.588 GB, free: 4.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.007769/0.524, allocations: 4.919 MB / 0.5928 GB, free: 496 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.519e-05/0.5241, allocations: 56 kB / 0.5928 GB, free: 440 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001119/0.5242, allocations: 116 kB / 0.593 GB, free: 324 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001318/0.5244, allocations: 152 kB / 0.5931 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/0.5266, allocations: 0.9902 MB / 0.5941 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001688/0.5268, allocations: 232.5 kB / 0.5943 GB, free: 14.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004353/0.5311, allocations: 0.5982 MB / 0.5949 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003585/0.5315, allocations: 288 kB / 0.5951 GB, free: 14.07 MB / 446.1 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.005681/0.5372, allocations: 3.409 MB / 0.5985 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0017/0.5389, allocations: 0.912 MB / 0.5994 GB, free: 9.723 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002245/0.5411, allocations: 1.019 MB / 0.6004 GB, free: 8.695 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.255e-05/0.5412, allocations: 176.3 kB / 0.6005 GB, free: 8.516 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.777e-05/0.5413, allocations: 182.5 kB / 0.6007 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.806e-05/0.5414, allocations: 184.3 kB / 0.6009 GB, free: 8.145 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.5527, allocations: 5.138 MB / 0.6059 GB, free: 2.938 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.147e-05/0.5527, allocations: 101 kB / 0.606 GB, free: 2.832 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.168e-05/0.5528, allocations: 101 kB / 0.6061 GB, free: 2.727 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.23e-05/0.5528, allocations: 180.2 kB / 0.6063 GB, free: 2.543 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.115e-05/0.5529, allocations: 188.2 kB / 0.6064 GB, free: 2.352 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-05/0.553, allocations: 188.2 kB / 0.6066 GB, free: 2.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.356e-05/0.553, allocations: 176.3 kB / 0.6068 GB, free: 1.98 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001913/0.555, allocations: 1.151 MB / 0.6079 GB, free: 0.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002013/0.557, allocations: 0.9014 MB / 0.6088 GB, free: 15.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006204/0.5576, allocations: 186.6 kB / 0.609 GB, free: 15.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008325/0.5584, allocations: 109 kB / 0.6091 GB, free: 15.55 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.469e-05/0.5585, allocations: 176.3 kB / 0.6092 GB, free: 15.38 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.5586, allocations: 104.9 kB / 0.6093 GB, free: 15.27 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01349/0.5721, allocations: 7.142 MB / 0.6163 GB, free: 8.176 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.3e-07/0.5721, allocations: 0 / 0.6163 GB, free: 8.176 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004558/0.5766, allocations: 1.128 MB / 0.6174 GB, free: 7.043 MB / 462.1 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.000164/0.5768, allocations: 178.5 kB / 0.6176 GB, free: 6.855 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.5794, allocations: 1.868 MB / 0.6194 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.5794, allocations: 0 / 0.6194 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 3.497e-06/0.5794, allocations: 128 / 0.6194 GB, free: 5.016 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01126/0.5907, allocations: 3.456 MB / 0.6228 GB, free: 1.574 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02722/0.6179, allocations: 15.66 MB / 0.6381 GB, free: 1.883 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008935/0.6269, allocations: 5.27 MB / 0.6432 GB, free: 12.58 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005694/0.6326, allocations: 2.098 MB / 0.6453 GB, free: 10.47 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000656/0.6333, allocations: 403.4 kB / 0.6457 GB, free: 10.08 MB / 494.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6333, allocations: 0 / 0.6457 GB, free: 10.08 MB / 494.1 MB Notification: Performance of Templates: time 0.3374/0.9707, allocations: 81.89 MB / 0.7256 GB, free: 172.4 MB / 0.5294 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches