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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008876/0.0008876, allocations: 83.69 kB / 20.68 MB, free: 3.883 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008511/0.0008511, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8658/0.8658, allocations: 177.1 MB / 204.3 MB, free: 5.707 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2262/0.2262, allocations: 32.78 MB / 293.5 MB, free: 1.25 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.682e-05, allocations: 2.281 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.1792/0.1792, allocations: 9.084 MB / 448.7 MB, free: 41.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00319/0.1824, allocations: 2.939 MB / 451.6 MB, free: 40.02 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000419/0.1828, allocations: 80.59 kB / 451.7 MB, free: 40 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002184/0.185, allocations: 2.736 MB / 454.4 MB, free: 38.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001043/0.1861, allocations: 1.156 MB / 455.6 MB, free: 38.24 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.1864, allocations: 290.5 kB / 455.8 MB, free: 38.12 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007536/0.1871, allocations: 1.556 MB / 457.4 MB, free: 37.39 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001151/0.1883, allocations: 1.911 MB / 459.3 MB, free: 36.52 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007136/0.189, allocations: 1.296 MB / 460.6 MB, free: 35.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001789/0.1908, allocations: 3.258 MB / 463.9 MB, free: 35.29 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001573/0.1909, allocations: 185.5 kB / 464 MB, free: 35.29 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003323/0.1913, allocations: 291.4 kB / 464.3 MB, free: 35.26 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000938/0.1922, allocations: 3.105 MB / 467.4 MB, free: 34.03 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006437/0.1928, allocations: 1.459 MB / 468.9 MB, free: 33.32 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003368/0.1962, allocations: 9.256 MB / 478.2 MB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.1962, allocations: 0 / 478.2 MB, free: 29.88 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.1962, allocations: 0 / 478.2 MB, free: 29.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.896e-05/0.1963, allocations: 0 / 478.2 MB, free: 29.88 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.006558/0.2029, allocations: 8.929 MB / 487.1 MB, free: 23.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.2029, allocations: 8.781 kB / 487.1 MB, free: 23.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004741/0.2034, allocations: 0.6148 MB / 487.7 MB, free: 23.64 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007738/0.2041, allocations: 1.025 MB / 488.7 MB, free: 22.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003799/0.2079, allocations: 3.741 MB / 492.5 MB, free: 20.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.54e-05/0.208, allocations: 132 kB / 492.6 MB, free: 20.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001637/0.2082, allocations: 160.6 kB / 492.8 MB, free: 20.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006821/0.215, allocations: 6.616 MB / 499.4 MB, free: 17.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.127e-05/0.215, allocations: 15.69 kB / 499.4 MB, free: 17.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.746e-05/0.2151, allocations: 75.61 kB / 499.5 MB, free: 17.85 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001478/0.2166, allocations: 1.561 MB / 0.4893 GB, free: 17.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00532/0.2219, allocations: 4.14 MB / 0.4933 GB, free: 16.19 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01683/0.2388, allocations: 19.32 MB / 0.5122 GB, free: 15.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008944/0.2397, allocations: 406.2 kB / 0.5126 GB, free: 14.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.49e-05/0.2397, allocations: 56.83 kB / 0.5126 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002394/0.2421, allocations: 1.793 MB / 0.5144 GB, free: 13.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.373e-05/0.2422, allocations: 109.8 kB / 0.5145 GB, free: 12.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.2422, allocations: 0 / 0.5145 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0007766/0.2429, allocations: 0.8798 MB / 0.5153 GB, free: 12 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.515e-05/0.243, allocations: 134.6 kB / 0.5155 GB, free: 11.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00816/0.2511, allocations: 10.75 MB / 0.526 GB, free: 1.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.907e-06/0.2512, allocations: 25.7 kB / 0.526 GB, free: 1.129 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003056/0.2542, allocations: 5.937 MB / 0.5318 GB, free: 11.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.2543, allocations: 91.89 kB / 0.5319 GB, free: 11.07 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005159/0.2548, allocations: 0.8065 MB / 0.5327 GB, free: 10.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.848e-05/0.2549, allocations: 305.1 kB / 0.533 GB, free: 9.953 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006607/0.2555, allocations: 0.7577 MB / 0.5337 GB, free: 9.188 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002228/0.2577, allocations: 4.003 MB / 0.5376 GB, free: 3.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/0.2614, allocations: 5.201 MB / 0.5427 GB, free: 12.64 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-05/0.2614, allocations: 39.94 kB / 0.5427 GB, free: 12.61 MB / 458.7 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.006356/0.2678, allocations: 4.964 MB / 0.5476 GB, free: 7.633 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.2678, allocations: 58.03 kB / 0.5476 GB, free: 7.578 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-05/0.2679, allocations: 116 kB / 0.5477 GB, free: 7.465 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.516e-05/0.268, allocations: 152 kB / 0.5479 GB, free: 7.316 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001285/0.2693, allocations: 0.9863 MB / 0.5488 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.737e-05/0.2694, allocations: 223.2 kB / 0.5491 GB, free: 6.109 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002485/0.2719, allocations: 0.6209 MB / 0.5497 GB, free: 5.484 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.272, allocations: 288 kB / 0.5499 GB, free: 5.203 MB / 458.7 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.003765/0.2758, allocations: 3.407 MB / 0.5533 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008823/0.2767, allocations: 0.9521 MB / 0.5542 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008561/0.2775, allocations: 1.027 MB / 0.5552 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.403e-05/0.2776, allocations: 176.3 kB / 0.5554 GB, free: 15.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.827e-05/0.2776, allocations: 187.6 kB / 0.5555 GB, free: 15.41 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.234e-05/0.2777, allocations: 180.2 kB / 0.5557 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003882/0.2815, allocations: 4.982 MB / 0.5606 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/0.2816, allocations: 108.9 kB / 0.5607 GB, free: 10.07 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.164e-05/0.2816, allocations: 101.1 kB / 0.5608 GB, free: 9.969 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.086e-05/0.2816, allocations: 185.1 kB / 0.561 GB, free: 9.781 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002281/0.2819, allocations: 182 kB / 0.5611 GB, free: 9.598 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.875e-05/0.2819, allocations: 180.2 kB / 0.5613 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.096e-05/0.2819, allocations: 184.2 kB / 0.5615 GB, free: 9.227 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005483/0.2825, allocations: 1.203 MB / 0.5627 GB, free: 7.992 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007456/0.2832, allocations: 0.8739 MB / 0.5635 GB, free: 7.105 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000281/0.2835, allocations: 176.3 kB / 0.5637 GB, free: 6.926 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004754/0.284, allocations: 108.9 kB / 0.5638 GB, free: 6.812 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.284, allocations: 184.3 kB / 0.564 GB, free: 6.625 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.2841, allocations: 107.2 kB / 0.5641 GB, free: 6.516 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006067/0.2901, allocations: 7.138 MB / 0.571 GB, free: 15.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2901, allocations: 0 / 0.571 GB, free: 15.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002302/0.2924, allocations: 1.145 MB / 0.5721 GB, free: 14.28 MB / 490.7 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.0007543/0.2932, allocations: 1.748 MB / 0.5739 GB, free: 12.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.2949, allocations: 1.8 MB / 0.5756 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2949, allocations: 0.875 kB / 0.5756 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.2949, allocations: 0 / 0.5756 GB, free: 10.72 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006233/0.3011, allocations: 3.454 MB / 0.579 GB, free: 7.301 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2158/0.5169, allocations: 62.21 MB / 0.6397 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003128/0.5201, allocations: 4.822 MB / 0.6444 GB, free: 138 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003217/0.5233, allocations: 2.106 MB / 0.6465 GB, free: 137.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002026/0.5253, allocations: 4.056 MB / 0.6505 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.683e-06/0.5253, allocations: 0 / 0.6505 GB, free: 134.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1402/0.6655, allocations: 162 MB / 0.8086 GB, free: 2.008 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.14/17.8, allocations: 4.062 kB / 0.8086 GB, free: 2.004 MB / 0.5261 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_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_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.csv","/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_4.0.0_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: 19.89165363740176]