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.002038/0.002038, allocations: 115.8 kB / 20.43 MB, free: 1.449 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.002654/0.002654, allocations: 216.6 kB / 23.74 MB, free: 4.656 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.646/1.646, allocations: 230.6 MB / 257.5 MB, free: 8.047 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.2542/0.2542, allocations: 44.91 MB / 358.8 MB, free: 6.336 MB / 286.1 MB " [Timeout remaining time 179] 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.002447/0.002447, allocations: 71.91 kB / 0.4931 GB, free: 10.78 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3704, allocations: 65.46 MB / 0.557 GB, free: 7.57 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01326/0.3837, allocations: 10.45 MB / 0.5672 GB, free: 13.34 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007238/0.3909, allocations: 3.105 MB / 0.5702 GB, free: 10.23 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001931/0.3928, allocations: 75.69 kB / 0.5703 GB, free: 10.15 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005779/0.3986, allocations: 2.722 MB / 0.573 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.4018, allocations: 1.128 MB / 0.5741 GB, free: 6.289 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009371/0.4028, allocations: 267.6 kB / 0.5743 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002667/0.4054, allocations: 1.513 MB / 0.5758 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002898/0.4083, allocations: 1.917 MB / 0.5777 GB, free: 2.551 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001788/0.4101, allocations: 0.9226 MB / 0.5786 GB, free: 1.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005407/0.4155, allocations: 3.439 MB / 0.5819 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007738/0.4163, allocations: 188 kB / 0.5821 GB, free: 14 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.4174, allocations: 283.8 kB / 0.5824 GB, free: 13.72 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003207/0.4206, allocations: 3.005 MB / 0.5853 GB, free: 10.7 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004568/0.4252, allocations: 3.345 MB / 0.5886 GB, free: 7.332 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01418/0.4394, allocations: 9.866 MB / 0.5982 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.4394, allocations: 0 / 0.5982 GB, free: 13.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.4394, allocations: 0 / 0.5982 GB, free: 13.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000429/0.4398, allocations: 0 / 0.5982 GB, free: 13.41 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.01818/0.458, allocations: 9.046 MB / 0.6071 GB, free: 4.273 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/0.458, allocations: 8.031 kB / 0.6071 GB, free: 4.266 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00137/0.4594, allocations: 0.6195 MB / 0.6077 GB, free: 3.637 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001777/0.4612, allocations: 1.028 MB / 0.6087 GB, free: 2.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007363/0.4685, allocations: 3.735 MB / 0.6123 GB, free: 14.8 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.4687, allocations: 135.2 kB / 0.6125 GB, free: 14.68 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004326/0.4691, allocations: 167.9 kB / 0.6126 GB, free: 14.51 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/0.4795, allocations: 6.608 MB / 0.6191 GB, free: 7.723 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/0.4796, allocations: 11.88 kB / 0.6191 GB, free: 7.711 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/0.4799, allocations: 79.94 kB / 0.6192 GB, free: 7.633 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.4818, allocations: 1.557 MB / 0.6207 GB, free: 6.074 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008273/0.49, allocations: 4.131 MB / 0.6247 GB, free: 1.941 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03505/0.5251, allocations: 20.25 MB / 0.6445 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.5267, allocations: 338.2 kB / 0.6448 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001365/0.5268, allocations: 56.83 kB / 0.6449 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005034/0.5319, allocations: 1.928 MB / 0.6467 GB, free: 11.06 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.453e-05/0.5319, allocations: 105.8 kB / 0.6468 GB, free: 10.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.274e-06/0.5319, allocations: 4 kB / 0.6469 GB, free: 10.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001661/0.5336, allocations: 0.8825 MB / 0.6477 GB, free: 10.05 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.982e-05/0.5337, allocations: 130.7 kB / 0.6478 GB, free: 9.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02143/0.5551, allocations: 10.55 MB / 0.6581 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.5551, allocations: 25.7 kB / 0.6582 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.007417/0.5625, allocations: 5.95 MB / 0.664 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.5628, allocations: 95.89 kB / 0.6641 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001434/0.5642, allocations: 0.8222 MB / 0.6649 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5644, allocations: 313 kB / 0.6652 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.5657, allocations: 0.7577 MB / 0.6659 GB, free: 7.391 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004525/0.5702, allocations: 3.995 MB / 0.6698 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006416/0.5766, allocations: 5.197 MB / 0.6749 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.966e-05/0.5767, allocations: 36 kB / 0.6749 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01075/0.5874, allocations: 4.964 MB / 0.6798 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.5876, allocations: 64.23 kB / 0.6798 GB, free: 5.789 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002374/0.5879, allocations: 116 kB / 0.6799 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002341/0.5881, allocations: 152 kB / 0.6801 GB, free: 5.527 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003121/0.5912, allocations: 0.9863 MB / 0.681 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003175/0.5915, allocations: 227.1 kB / 0.6813 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005383/0.5969, allocations: 0.6166 MB / 0.6819 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000797/0.5977, allocations: 288 kB / 0.6821 GB, free: 3.414 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.007198/0.6049, allocations: 3.405 MB / 0.6855 GB, free: 16 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002023/0.6069, allocations: 0.9678 MB / 0.6864 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.6099, allocations: 1.023 MB / 0.6874 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-05/0.61, allocations: 180.3 kB / 0.6876 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001122/0.6101, allocations: 192.2 kB / 0.6878 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/0.6102, allocations: 180.3 kB / 0.6879 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01336/0.6236, allocations: 5.106 MB / 0.6929 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-05/0.6236, allocations: 105 kB / 0.693 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.353e-05/0.6237, allocations: 105 kB / 0.6931 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.812e-05/0.6238, allocations: 180.2 kB / 0.6933 GB, free: 7.852 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/0.6239, allocations: 184.3 kB / 0.6935 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-05/0.624, allocations: 180.2 kB / 0.6936 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.337e-05/0.624, allocations: 176.3 kB / 0.6938 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/0.6259, allocations: 1.207 MB / 0.695 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002535/0.6285, allocations: 0.8661 MB / 0.6958 GB, free: 5.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001356/0.6298, allocations: 180.2 kB / 0.696 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.6313, allocations: 105 kB / 0.6961 GB, free: 4.891 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.6315, allocations: 180.2 kB / 0.6963 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-05/0.6315, allocations: 108.9 kB / 0.6964 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01582/0.6473, allocations: 7.142 MB / 0.7034 GB, free: 13.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.61e-07/0.6473, allocations: 0 / 0.7034 GB, free: 13.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005313/0.6527, allocations: 1.149 MB / 0.7045 GB, free: 12.35 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.002469/0.6551, allocations: 1.744 MB / 0.7062 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003757/0.6589, allocations: 1.8 MB / 0.7079 GB, free: 8.793 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.6589, allocations: 4.812 kB / 0.7079 GB, free: 8.789 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.929e-06/0.6589, allocations: 4 kB / 0.708 GB, free: 8.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01604/0.6749, allocations: 3.454 MB / 0.7113 GB, free: 5.32 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6409/1.316, allocations: 62.44 MB / 0.7723 GB, free: 113.2 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008507/1.324, allocations: 5.28 MB / 0.7775 GB, free: 107.9 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006326/1.331, allocations: 2.096 MB / 0.7795 GB, free: 106.1 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005461/1.336, allocations: 4.057 MB / 0.7835 GB, free: 102.1 MB / 0.5607 GB Notification: Performance of SimCode: time 1.964e-06/1.336, allocations: 0 / 0.7835 GB, free: 102.1 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2607/1.597, allocations: 158 MB / 0.9378 GB, free: 9.238 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 46.26/47.86, allocations: 11.39 kB / 0.9378 GB, free: 9.23 MB / 0.6232 GB " [Timeout remaining time 612] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 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.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 51.9892121150624]