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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") translateModel(ModelicaTest.MultiBody.Visualizers.ColorMaps,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 111.4 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001945/0.001945, allocations: 201.9 kB / 18.78 MB, free: 4.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.104/2.104, allocations: 222.9 MB / 242.5 MB, free: 13.79 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3268/0.3268, allocations: 44.18 MB / 336.8 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 59.83 kB / 408.4 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1464, allocations: 60.82 MB / 469.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.42/0.5665, allocations: 55.85 MB / 0.5127 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.03434/0.6009, allocations: 10.37 MB / 0.5228 GB, free: 8.398 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01781/0.6188, allocations: 243.6 kB / 0.5231 GB, free: 8.359 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006781/0.6256, allocations: 2.678 MB / 0.5257 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004339/0.6301, allocations: 0.9665 MB / 0.5266 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001381/0.6315, allocations: 248.1 kB / 0.5269 GB, free: 7.117 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.004989/0.6365, allocations: 2.545 MB / 0.5294 GB, free: 6.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004445/0.641, allocations: 2.488 MB / 0.5318 GB, free: 5.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002369/0.6434, allocations: 0.8895 MB / 0.5327 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006662/0.6501, allocations: 3.557 MB / 0.5361 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009024/0.6511, allocations: 163.9 kB / 0.5363 GB, free: 3.551 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.6523, allocations: 268.5 kB / 0.5365 GB, free: 3.492 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003109/0.6554, allocations: 2.979 MB / 0.5394 GB, free: 1.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004971/0.6604, allocations: 3.298 MB / 0.5427 GB, free: 15.35 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01113/0.6716, allocations: 6.762 MB / 0.5493 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.656e-06/0.6717, allocations: 0 / 0.5493 GB, free: 10.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.6717, allocations: 0 / 0.5493 GB, free: 10.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004473/0.6721, allocations: 0 / 0.5493 GB, free: 10.22 MB / 398.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.02493/0.6971, allocations: 8.777 MB / 0.5578 GB, free: 1.383 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000113/0.6972, allocations: 12.03 kB / 0.5579 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00252/0.6998, allocations: 0.9666 MB / 0.5588 GB, free: 400 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009201/0.709, allocations: 3.726 MB / 0.5624 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002813/0.7093, allocations: 131.7 kB / 0.5626 GB, free: 12.65 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000521/0.7099, allocations: 166.8 kB / 0.5627 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01692/0.7268, allocations: 6.609 MB / 0.5692 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.266e-05/0.7269, allocations: 11.88 kB / 0.5692 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002258/0.7272, allocations: 76.34 kB / 0.5693 GB, free: 5.691 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002241/0.7294, allocations: 1.557 MB / 0.5708 GB, free: 4.141 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.7405, allocations: 4.137 MB / 0.5748 GB, free: 15.99 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05176/0.7924, allocations: 20.4 MB / 0.5947 GB, free: 11.45 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.7947, allocations: 340.8 kB / 0.5951 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.7949, allocations: 69.08 kB / 0.5951 GB, free: 11.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007512/0.8024, allocations: 3.264 MB / 0.5983 GB, free: 7.422 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.151e-05/0.8026, allocations: 106.7 kB / 0.5984 GB, free: 7.309 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 3.146e-06/0.8026, allocations: 0 / 0.5984 GB, free: 7.309 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.00177/0.8044, allocations: 0.8424 MB / 0.5992 GB, free: 6.449 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001046/0.8045, allocations: 130.7 kB / 0.5994 GB, free: 6.309 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02822/0.8327, allocations: 10.55 MB / 0.6097 GB, free: 11.81 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.8328, allocations: 25.7 kB / 0.6097 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008692/0.8415, allocations: 5.836 MB / 0.6154 GB, free: 5.941 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.8418, allocations: 87.91 kB / 0.6155 GB, free: 5.855 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/0.8431, allocations: 0.8213 MB / 0.6163 GB, free: 5.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.8433, allocations: 301.1 kB / 0.6166 GB, free: 4.723 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.8449, allocations: 0.7654 MB / 0.6173 GB, free: 3.949 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004272/0.8491, allocations: 3.999 MB / 0.6212 GB, free: 14.27 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007283/0.8567, allocations: 5.201 MB / 0.6263 GB, free: 7.41 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001098/0.8569, allocations: 36 kB / 0.6263 GB, free: 7.375 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01282/0.8697, allocations: 4.919 MB / 0.6311 GB, free: 2.441 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.8698, allocations: 56 kB / 0.6312 GB, free: 2.387 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001759/0.87, allocations: 116.8 kB / 0.6313 GB, free: 2.273 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.8702, allocations: 155.9 kB / 0.6314 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003704/0.8739, allocations: 0.9953 MB / 0.6324 GB, free: 1.125 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00021/0.8742, allocations: 223.2 kB / 0.6326 GB, free: 0.9062 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005301/0.8795, allocations: 0.5952 MB / 0.6332 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004868/0.88, allocations: 284 kB / 0.6335 GB, free: 28 kB / 478.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.007673/0.8877, allocations: 3.417 MB / 0.6368 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002211/0.8899, allocations: 0.9043 MB / 0.6377 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.8928, allocations: 1.027 MB / 0.6387 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.941e-05/0.8929, allocations: 184.2 kB / 0.6389 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.976e-05/0.893, allocations: 184.2 kB / 0.6391 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.851e-05/0.8931, allocations: 180.3 kB / 0.6392 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01192/0.905, allocations: 5.127 MB / 0.6442 GB, free: 4.887 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.874e-05/0.9051, allocations: 108.9 kB / 0.6443 GB, free: 4.777 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.9052, allocations: 109 kB / 0.6444 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-05/0.9053, allocations: 184.2 kB / 0.6446 GB, free: 4.477 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.996e-05/0.9053, allocations: 180.3 kB / 0.6448 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.088e-05/0.9054, allocations: 184.1 kB / 0.645 GB, free: 4.105 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.725e-05/0.9055, allocations: 180.2 kB / 0.6451 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.9072, allocations: 1.155 MB / 0.6463 GB, free: 2.73 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002207/0.9094, allocations: 0.9052 MB / 0.6472 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001012/0.9105, allocations: 188.2 kB / 0.6473 GB, free: 1.598 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/0.9118, allocations: 104.9 kB / 0.6474 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.9119, allocations: 176.3 kB / 0.6476 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.221e-05/0.912, allocations: 116.9 kB / 0.6477 GB, free: 1.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.02085/0.9329, allocations: 7.138 MB / 0.6547 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.112e-06/0.9329, allocations: 0 / 0.6547 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007748/0.9407, allocations: 1.132 MB / 0.6558 GB, free: 8.965 MB / 0.4981 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.0002309/0.941, allocations: 167.1 kB / 0.6559 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004403/0.9454, allocations: 1.875 MB / 0.6578 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/0.9454, allocations: 0 / 0.6578 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.9454, allocations: 0 / 0.6578 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02067/0.9661, allocations: 3.234 MB / 0.6609 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04267/1.009, allocations: 19.59 MB / 0.6801 GB, free: 72 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01333/1.022, allocations: 5.278 MB / 0.6852 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/1.024, allocations: 435.4 kB / 0.6856 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of SimCode: time 1.653e-06/1.024, allocations: 0 / 0.6856 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of Templates: time 0.8121/1.836, allocations: 126.7 MB / 0.8094 GB, free: 114.5 MB / 0.545 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches