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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 187 kB / 17.97 MB, free: 3.816 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 241.6 MB, free: 10.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001487/0.001487, allocations: 115.4 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3749/0.3749, allocations: 44.14 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001153/0.001153, allocations: 51.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3233, allocations: 60.8 MB / 0.5064 GB, free: 38.3 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.04407/0.3675, allocations: 55.85 MB / 0.5609 GB, free: 14.32 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02427/0.3918, allocations: 10.36 MB / 0.5711 GB, free: 7.414 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01073/0.4026, allocations: 240.7 kB / 0.5713 GB, free: 7.379 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005759/0.4083, allocations: 2.681 MB / 0.5739 GB, free: 6.094 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003138/0.4116, allocations: 0.9613 MB / 0.5748 GB, free: 5.664 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009304/0.4125, allocations: 251.3 kB / 0.5751 GB, free: 5.555 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.00433/0.4169, allocations: 2.573 MB / 0.5776 GB, free: 4.719 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004352/0.4212, allocations: 2.487 MB / 0.58 GB, free: 3.695 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/0.4238, allocations: 0.8932 MB / 0.5809 GB, free: 2.898 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005639/0.4294, allocations: 3.565 MB / 0.5844 GB, free: 4 kB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008165/0.4303, allocations: 164 kB / 0.5845 GB, free: 15.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001412/0.4317, allocations: 263.7 kB / 0.5848 GB, free: 15.59 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002966/0.4347, allocations: 2.985 MB / 0.5877 GB, free: 12.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004341/0.439, allocations: 3.294 MB / 0.5909 GB, free: 9.273 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007812/0.4469, allocations: 8.393 MB / 0.5991 GB, free: 0.8477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.696e-06/0.4469, allocations: 4 kB / 0.5991 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4469, allocations: 0 / 0.5991 GB, free: 0.8438 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003014/0.4472, allocations: 0 / 0.5991 GB, free: 0.8438 MB / 410.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.01288/0.4601, allocations: 8.781 MB / 0.6077 GB, free: 7.957 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4602, allocations: 12.03 kB / 0.6077 GB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001052/0.4613, allocations: 0.9666 MB / 0.6086 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005196/0.4665, allocations: 3.725 MB / 0.6123 GB, free: 3.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.091e-05/0.4666, allocations: 127.4 kB / 0.6124 GB, free: 3.035 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001985/0.4668, allocations: 175.8 kB / 0.6126 GB, free: 2.863 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007847/0.4746, allocations: 6.608 MB / 0.619 GB, free: 12.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.005e-05/0.4747, allocations: 11.92 kB / 0.619 GB, free: 12.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.4749, allocations: 75.88 kB / 0.6191 GB, free: 11.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001487/0.4763, allocations: 1.561 MB / 0.6206 GB, free: 10.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006621/0.483, allocations: 4.136 MB / 0.6247 GB, free: 6.293 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03019/0.5132, allocations: 20.39 MB / 0.6446 GB, free: 1.629 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001459/0.5147, allocations: 346.2 kB / 0.6449 GB, free: 1.281 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001055/0.5148, allocations: 56.83 kB / 0.645 GB, free: 1.223 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005248/0.5201, allocations: 3.266 MB / 0.6482 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.383e-05/0.5202, allocations: 109.8 kB / 0.6483 GB, free: 13.48 MB / 474.7 MB Notification: Performance of pre-optimization done (n=0): time 1.913e-06/0.5202, allocations: 4 kB / 0.6483 GB, free: 13.47 MB / 474.7 MB Notification: Performance of matching and sorting (n=0): time 0.0009287/0.5211, allocations: 0.8385 MB / 0.6491 GB, free: 12.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/0.5212, allocations: 134.6 kB / 0.6492 GB, free: 12.47 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01498/0.5362, allocations: 10.55 MB / 0.6595 GB, free: 1.977 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.5362, allocations: 25.7 kB / 0.6595 GB, free: 1.945 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005044/0.5413, allocations: 5.83 MB / 0.6652 GB, free: 12.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.5414, allocations: 91.91 kB / 0.6653 GB, free: 11.98 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008978/0.5423, allocations: 0.8174 MB / 0.6661 GB, free: 11.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.5425, allocations: 305.1 kB / 0.6664 GB, free: 10.85 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009938/0.5435, allocations: 0.7616 MB / 0.6672 GB, free: 10.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003054/0.5465, allocations: 3.995 MB / 0.6711 GB, free: 4.398 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005018/0.5516, allocations: 5.201 MB / 0.6761 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.156e-05/0.5516, allocations: 36 kB / 0.6762 GB, free: 13.51 MB / 0.4948 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00868/0.5603, allocations: 4.924 MB / 0.681 GB, free: 8.57 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 6.077e-05/0.5604, allocations: 52.22 kB / 0.681 GB, free: 8.52 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001058/0.5605, allocations: 124 kB / 0.6811 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/0.5607, allocations: 155.9 kB / 0.6813 GB, free: 8.246 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.5628, allocations: 0.9825 MB / 0.6822 GB, free: 7.262 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001529/0.563, allocations: 227.1 kB / 0.6825 GB, free: 7.039 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003156/0.5661, allocations: 0.5992 MB / 0.6831 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.5664, allocations: 284 kB / 0.6833 GB, free: 6.156 MB / 0.4948 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.004468/0.5709, allocations: 3.405 MB / 0.6866 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001088/0.572, allocations: 0.912 MB / 0.6875 GB, free: 1.809 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001462/0.5735, allocations: 1.027 MB / 0.6885 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.225e-05/0.5735, allocations: 188.2 kB / 0.6887 GB, free: 0.582 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.196e-05/0.5736, allocations: 180.2 kB / 0.6889 GB, free: 408 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.775e-05/0.5737, allocations: 176.3 kB / 0.6891 GB, free: 224 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3983/0.972, allocations: 5.129 MB / 0.6941 GB, free: 138.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.649e-05/0.9721, allocations: 103.3 kB / 0.6942 GB, free: 138.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.903e-05/0.9721, allocations: 114 kB / 0.6943 GB, free: 138.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.295e-05/0.9721, allocations: 188.7 kB / 0.6945 GB, free: 138.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.04e-05/0.9722, allocations: 183 kB / 0.6946 GB, free: 138.3 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.61e-05/0.9722, allocations: 180.1 kB / 0.6948 GB, free: 138.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.421e-05/0.9722, allocations: 178.6 kB / 0.695 GB, free: 138 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002526/0.9748, allocations: 3.477 MB / 0.6984 GB, free: 136.3 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001284/0.9761, allocations: 0.8978 MB / 0.6992 GB, free: 135.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004218/0.9765, allocations: 190.2 kB / 0.6994 GB, free: 135.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007265/0.9772, allocations: 104.5 kB / 0.6995 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.122e-05/0.9773, allocations: 180.2 kB / 0.6997 GB, free: 135.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.9773, allocations: 103.8 kB / 0.6998 GB, free: 135 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.008689/0.986, allocations: 7.146 MB / 0.7068 GB, free: 132.9 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.01e-07/0.986, allocations: 3.75 kB / 0.7068 GB, free: 132.9 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.003923/0.99, allocations: 1.129 MB / 0.7079 GB, free: 132.7 MB / 0.4949 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.0001403/0.9901, allocations: 170.5 kB / 0.708 GB, free: 132.6 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.9926, allocations: 1.873 MB / 0.7099 GB, free: 132 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.9926, allocations: 0 / 0.7099 GB, free: 132 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.9926, allocations: 0 / 0.7099 GB, free: 132 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01182/1.004, allocations: 3.235 MB / 0.713 GB, free: 130.9 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02703/1.031, allocations: 18.84 MB / 0.7314 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007951/1.039, allocations: 5.277 MB / 0.7366 GB, free: 119.9 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008459/1.048, allocations: 2.102 MB / 0.7386 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008232/1.049, allocations: 402 kB / 0.739 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of SimCode: time 9.02e-07/1.049, allocations: 0 / 0.739 GB, free: 119.6 MB / 0.4949 GB Notification: Performance of Templates: time 0.1403/1.189, allocations: 88.77 MB / 0.8257 GB, free: 36.35 MB / 0.4949 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches