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.001328/0.001328, allocations: 111.1 kB / 20.44 MB, free: 1.184 MB / 14.72 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.001567/0.001567, allocations: 209.2 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.419/1.419, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.2132/0.2132, allocations: 44.94 MB / 358.9 MB, free: 6.043 MB / 286.1 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: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002054/0.002054, allocations: 67.91 kB / 0.493 GB, free: 10.53 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.299/0.3011, allocations: 65.47 MB / 0.557 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01144/0.3125, allocations: 9.077 MB / 0.5658 GB, free: 14.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006871/0.3194, allocations: 2.941 MB / 0.5687 GB, free: 11.59 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001615/0.321, allocations: 75.62 kB / 0.5688 GB, free: 11.51 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005138/0.3261, allocations: 2.605 MB / 0.5713 GB, free: 8.898 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002823/0.3289, allocations: 1.117 MB / 0.5724 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.3297, allocations: 267.5 kB / 0.5727 GB, free: 7.516 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002062/0.3317, allocations: 1.506 MB / 0.5741 GB, free: 6.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002215/0.334, allocations: 1.913 MB / 0.576 GB, free: 4.051 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001293/0.3352, allocations: 0.9265 MB / 0.5769 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004456/0.3397, allocations: 3.325 MB / 0.5801 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005537/0.3403, allocations: 192 kB / 0.5803 GB, free: 15.6 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007685/0.341, allocations: 275.8 kB / 0.5806 GB, free: 15.33 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0025/0.3435, allocations: 2.997 MB / 0.5835 GB, free: 12.32 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.3463, allocations: 2.265 MB / 0.5857 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01053/0.3568, allocations: 9.948 MB / 0.5954 GB, free: 44 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.3569, allocations: 0 / 0.5954 GB, free: 44 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3569, allocations: 0 / 0.5954 GB, free: 44 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002922/0.3572, allocations: 0 / 0.5954 GB, free: 44 kB / 430.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.01301/0.3702, allocations: 9.043 MB / 0.6043 GB, free: 6.906 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.3702, allocations: 12.03 kB / 0.6043 GB, free: 6.895 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008143/0.371, allocations: 0.6157 MB / 0.6049 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001274/0.3723, allocations: 1.028 MB / 0.6059 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006065/0.3784, allocations: 3.743 MB / 0.6095 GB, free: 1.434 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.3785, allocations: 135.3 kB / 0.6097 GB, free: 1.301 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002541/0.3787, allocations: 164 kB / 0.6098 GB, free: 1.141 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008945/0.3877, allocations: 6.612 MB / 0.6163 GB, free: 10.35 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/0.3877, allocations: 7.938 kB / 0.6163 GB, free: 10.34 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.3879, allocations: 75.95 kB / 0.6164 GB, free: 10.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001757/0.3896, allocations: 1.557 MB / 0.6179 GB, free: 8.707 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007375/0.397, allocations: 4.136 MB / 0.6219 GB, free: 4.566 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02949/0.4265, allocations: 19.22 MB / 0.6407 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001514/0.428, allocations: 334.2 kB / 0.641 GB, free: 0.7344 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001038/0.4281, allocations: 63.78 kB / 0.6411 GB, free: 0.6719 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004209/0.4323, allocations: 1.796 MB / 0.6428 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.04e-05/0.4324, allocations: 109.9 kB / 0.6429 GB, free: 14.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.4324, allocations: 4 kB / 0.6429 GB, free: 14.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0009498/0.4333, allocations: 0.8825 MB / 0.6438 GB, free: 13.84 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.128e-05/0.4334, allocations: 130.7 kB / 0.6439 GB, free: 13.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01553/0.449, allocations: 10.74 MB / 0.6544 GB, free: 3.004 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.449, allocations: 25.7 kB / 0.6544 GB, free: 2.973 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.005778/0.4547, allocations: 5.962 MB / 0.6603 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/0.4549, allocations: 91.91 kB / 0.6603 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009416/0.4558, allocations: 0.8222 MB / 0.6612 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.456, allocations: 305.1 kB / 0.6614 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001096/0.4571, allocations: 0.7616 MB / 0.6622 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003781/0.4608, allocations: 4.007 MB / 0.6661 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005481/0.4663, allocations: 5.197 MB / 0.6712 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.001e-05/0.4664, allocations: 32 kB / 0.6712 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.008776/0.4752, allocations: 4.968 MB / 0.6761 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 7.873e-05/0.4753, allocations: 56 kB / 0.6761 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.4754, allocations: 120 kB / 0.6762 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000142/0.4755, allocations: 155.9 kB / 0.6764 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002447/0.478, allocations: 0.9824 MB / 0.6773 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002063/0.4782, allocations: 227.1 kB / 0.6775 GB, free: 7.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003562/0.4817, allocations: 0.6209 MB / 0.6782 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000337/0.4821, allocations: 284 kB / 0.6784 GB, free: 7 MB / 0.5137 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.005154/0.4872, allocations: 3.405 MB / 0.6818 GB, free: 3.582 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001282/0.4885, allocations: 0.96 MB / 0.6827 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/0.4901, allocations: 1.023 MB / 0.6837 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.719e-05/0.4902, allocations: 188.2 kB / 0.6839 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.847e-05/0.4903, allocations: 180.3 kB / 0.684 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.471e-05/0.4903, allocations: 180.2 kB / 0.6842 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007144/0.4975, allocations: 4.982 MB / 0.6891 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-05/0.4976, allocations: 108.9 kB / 0.6892 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.358e-05/0.4976, allocations: 104.9 kB / 0.6893 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.53e-05/0.4977, allocations: 188.2 kB / 0.6895 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.843e-05/0.4978, allocations: 180.2 kB / 0.6896 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.399e-05/0.4979, allocations: 176.3 kB / 0.6898 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.665e-05/0.498, allocations: 180.3 kB / 0.69 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001296/0.4992, allocations: 1.207 MB / 0.6912 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001592/0.5008, allocations: 0.8739 MB / 0.692 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/0.5014, allocations: 180.3 kB / 0.6922 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008192/0.5022, allocations: 101 kB / 0.6923 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.268e-05/0.5023, allocations: 184.2 kB / 0.6924 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.271e-05/0.5023, allocations: 105 kB / 0.6925 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01139/0.5137, allocations: 7.138 MB / 0.6995 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2e-07/0.5137, allocations: 0 / 0.6995 GB, free: 1.219 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004124/0.5178, allocations: 1.141 MB / 0.7006 GB, free: 76 kB / 0.5294 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.001579/0.5194, allocations: 1.756 MB / 0.7023 GB, free: 14.28 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002971/0.5224, allocations: 1.8 MB / 0.7041 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5224, allocations: 0 / 0.7041 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.265e-06/0.5224, allocations: 0 / 0.7041 GB, free: 12.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01236/0.5347, allocations: 3.451 MB / 0.7075 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.522/1.057, allocations: 62.45 MB / 0.7685 GB, free: 120.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004711/1.061, allocations: 4.829 MB / 0.7732 GB, free: 115.3 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004673/1.066, allocations: 2.095 MB / 0.7752 GB, free: 113.5 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00324/1.069, allocations: 4.057 MB / 0.7792 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of SimCode: time 1.152e-06/1.069, allocations: 3.906 kB / 0.7792 GB, free: 109.4 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2286/1.298, allocations: 162.7 MB / 0.938 GB, free: 12.41 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.21/31.5, allocations: 5.75 kB / 0.938 GB, free: 12.41 MB / 0.6232 GB " [Timeout remaining time 628] (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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 34.58475777273998]