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.001653/0.001653, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 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.001925/0.001925, allocations: 214.9 kB / 23.74 MB, free: 4.672 MB / 14.72 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 1.573/1.573, allocations: 230.5 MB / 257.4 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.2806/0.2806, allocations: 46.92 MB / 360.8 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002359/0.002359, allocations: 79.88 kB / 0.4962 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.351/0.3534, allocations: 66.1 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01274/0.3661, allocations: 10.42 MB / 0.5709 GB, free: 9.797 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007352/0.3735, allocations: 3.105 MB / 0.5739 GB, free: 6.684 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001854/0.3753, allocations: 79.62 kB / 0.574 GB, free: 6.605 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005394/0.3807, allocations: 2.722 MB / 0.5767 GB, free: 3.875 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003293/0.384, allocations: 1.124 MB / 0.5778 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007987/0.3848, allocations: 271.5 kB / 0.578 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002607/0.3874, allocations: 1.517 MB / 0.5795 GB, free: 0.957 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002739/0.3901, allocations: 1.91 MB / 0.5814 GB, free: 15.01 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001895/0.392, allocations: 0.9265 MB / 0.5823 GB, free: 14.08 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005546/0.3976, allocations: 3.442 MB / 0.5856 GB, free: 10.63 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006565/0.3982, allocations: 188 kB / 0.5858 GB, free: 10.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008929/0.3991, allocations: 279.8 kB / 0.5861 GB, free: 10.17 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002952/0.4021, allocations: 3.009 MB / 0.589 GB, free: 7.152 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00389/0.406, allocations: 3.337 MB / 0.5923 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.4185, allocations: 9.87 MB / 0.6019 GB, free: 9.871 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.4185, allocations: 0 / 0.6019 GB, free: 9.871 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4185, allocations: 0 / 0.6019 GB, free: 9.871 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003256/0.4188, allocations: 0 / 0.6019 GB, free: 9.871 MB / 446.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.01759/0.4364, allocations: 9.054 MB / 0.6108 GB, free: 0.7227 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.4365, allocations: 8.031 kB / 0.6108 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001282/0.4378, allocations: 0.6157 MB / 0.6114 GB, free: 92 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.4396, allocations: 1.028 MB / 0.6124 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00745/0.447, allocations: 3.735 MB / 0.616 GB, free: 11.25 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001465/0.4471, allocations: 131.1 kB / 0.6162 GB, free: 11.13 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002731/0.4474, allocations: 167.9 kB / 0.6163 GB, free: 10.96 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01031/0.4577, allocations: 6.608 MB / 0.6228 GB, free: 4.18 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.564e-05/0.4578, allocations: 11.94 kB / 0.6228 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/0.458, allocations: 75.94 kB / 0.6228 GB, free: 4.094 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001811/0.4598, allocations: 1.561 MB / 0.6244 GB, free: 2.531 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008531/0.4683, allocations: 4.133 MB / 0.6284 GB, free: 14.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03617/0.5045, allocations: 20.25 MB / 0.6482 GB, free: 9.859 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001563/0.506, allocations: 330.2 kB / 0.6485 GB, free: 9.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.5061, allocations: 60.83 kB / 0.6486 GB, free: 9.465 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004875/0.511, allocations: 1.928 MB / 0.6504 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.756e-05/0.5111, allocations: 109.8 kB / 0.6505 GB, free: 7.395 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.904e-06/0.5111, allocations: 0 / 0.6505 GB, free: 7.395 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001287/0.5124, allocations: 0.8786 MB / 0.6514 GB, free: 6.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.2e-05/0.5124, allocations: 126.7 kB / 0.6515 GB, free: 6.367 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0199/0.5323, allocations: 10.55 MB / 0.6618 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/0.5324, allocations: 25.7 kB / 0.6619 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.007283/0.5397, allocations: 5.958 MB / 0.6677 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.5398, allocations: 95.89 kB / 0.6678 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001098/0.5409, allocations: 0.8222 MB / 0.6686 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.5411, allocations: 313 kB / 0.6689 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.5423, allocations: 0.7577 MB / 0.6696 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0042/0.5465, allocations: 3.999 MB / 0.6735 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007405/0.5539, allocations: 5.197 MB / 0.6786 GB, free: 7.309 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001159/0.554, allocations: 36 kB / 0.6786 GB, free: 7.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01047/0.5644, allocations: 4.968 MB / 0.6835 GB, free: 2.297 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.803e-05/0.5645, allocations: 62.33 kB / 0.6835 GB, free: 2.238 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/0.5647, allocations: 119.9 kB / 0.6836 GB, free: 2.121 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001503/0.5648, allocations: 152 kB / 0.6838 GB, free: 1.973 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00266/0.5675, allocations: 0.9786 MB / 0.6847 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002008/0.5677, allocations: 227.1 kB / 0.685 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/0.5717, allocations: 0.6244 MB / 0.6856 GB, free: 144 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004351/0.5721, allocations: 291.9 kB / 0.6859 GB, free: 15.86 MB / 0.5294 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.005531/0.5777, allocations: 3.397 MB / 0.6892 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001515/0.5792, allocations: 0.9639 MB / 0.6901 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001957/0.5811, allocations: 1.023 MB / 0.6911 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.399e-05/0.5812, allocations: 180.2 kB / 0.6913 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.925e-05/0.5813, allocations: 184.2 kB / 0.6915 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.343e-05/0.5814, allocations: 180.2 kB / 0.6916 GB, free: 9.883 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009342/0.5907, allocations: 5.11 MB / 0.6966 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.823e-05/0.5908, allocations: 105 kB / 0.6967 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.918e-05/0.5908, allocations: 108.9 kB / 0.6968 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.943e-05/0.5909, allocations: 176.3 kB / 0.697 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.751e-05/0.591, allocations: 184.2 kB / 0.6972 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.606e-05/0.5911, allocations: 180.2 kB / 0.6973 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.524e-05/0.5912, allocations: 184.2 kB / 0.6975 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001671/0.5929, allocations: 1.199 MB / 0.6987 GB, free: 2.52 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/0.5946, allocations: 0.87 MB / 0.6995 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007/0.5953, allocations: 180.3 kB / 0.6997 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008288/0.5962, allocations: 105 kB / 0.6998 GB, free: 1.344 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.43e-05/0.5963, allocations: 188.2 kB / 0.7 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.692e-05/0.5963, allocations: 101 kB / 0.7001 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01432/0.6106, allocations: 7.146 MB / 0.7071 GB, free: 9.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6106, allocations: 0 / 0.7071 GB, free: 9.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005132/0.6158, allocations: 1.141 MB / 0.7082 GB, free: 8.809 MB / 0.545 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.002124/0.6179, allocations: 1.756 MB / 0.7099 GB, free: 7.016 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003321/0.6212, allocations: 1.797 MB / 0.7116 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.6212, allocations: 0 / 0.7116 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.976e-06/0.6212, allocations: 256 / 0.7116 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0137/0.6349, allocations: 3.455 MB / 0.715 GB, free: 1.781 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6536/1.289, allocations: 62.45 MB / 0.776 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008352/1.297, allocations: 5.275 MB / 0.7812 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006317/1.303, allocations: 2.102 MB / 0.7832 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004964/1.308, allocations: 4.057 MB / 0.7872 GB, free: 98.63 MB / 0.5607 GB Notification: Performance of SimCode: time 2.284e-06/1.308, allocations: 4 kB / 0.7872 GB, free: 98.63 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2519/1.56, allocations: 157.9 MB / 0.9414 GB, free: 5.703 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.92/42.48, allocations: 3.938 kB / 0.9414 GB, free: 5.699 MB / 0.6232 GB " [Timeout remaining time 617] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.9992e-05 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 45.76708592600335]