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.001478/0.001478, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001688/0.001688, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 8.012 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.2456/0.2456, allocations: 44.91 MB / 359.6 MB, free: 6.266 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="cs",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.002582/0.002582, allocations: 59.91 kB / 0.4938 GB, free: 10.72 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3784, allocations: 65.48 MB / 0.5578 GB, free: 7.512 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01307/0.3915, allocations: 10.43 MB / 0.568 GB, free: 13.28 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007275/0.3987, allocations: 3.104 MB / 0.571 GB, free: 10.16 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.4004, allocations: 79.62 kB / 0.5711 GB, free: 10.09 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005688/0.4061, allocations: 2.722 MB / 0.5737 GB, free: 7.355 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003303/0.4094, allocations: 1.132 MB / 0.5748 GB, free: 6.219 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009104/0.4103, allocations: 259.6 kB / 0.5751 GB, free: 5.965 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00273/0.413, allocations: 1.517 MB / 0.5766 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002746/0.4158, allocations: 1.921 MB / 0.5784 GB, free: 2.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001676/0.4175, allocations: 0.9265 MB / 0.5794 GB, free: 1.551 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005501/0.423, allocations: 3.431 MB / 0.5827 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006989/0.4237, allocations: 192 kB / 0.5829 GB, free: 13.93 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009348/0.4246, allocations: 279.8 kB / 0.5832 GB, free: 13.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003042/0.4276, allocations: 3.017 MB / 0.5861 GB, free: 10.62 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004362/0.432, allocations: 3.333 MB / 0.5894 GB, free: 7.266 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.4435, allocations: 9.87 MB / 0.599 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4435, allocations: 0 / 0.599 GB, free: 13.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.4435, allocations: 0 / 0.599 GB, free: 13.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003366/0.4439, allocations: 0 / 0.599 GB, free: 13.34 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.0165/0.4604, allocations: 9.046 MB / 0.6078 GB, free: 4.207 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.138e-05/0.4604, allocations: 15.97 kB / 0.6078 GB, free: 4.191 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.00016/0.4606, allocations: 75.41 kB / 0.6079 GB, free: 4.117 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001235/0.4618, allocations: 0.6196 MB / 0.6085 GB, free: 3.488 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001665/0.4635, allocations: 1.031 MB / 0.6095 GB, free: 2.449 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008284/0.4718, allocations: 3.732 MB / 0.6132 GB, free: 14.66 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/0.4719, allocations: 135.1 kB / 0.6133 GB, free: 14.53 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003529/0.4723, allocations: 167.9 kB / 0.6135 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01053/0.4828, allocations: 6.604 MB / 0.6199 GB, free: 7.578 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.41e-05/0.4828, allocations: 7.938 kB / 0.6199 GB, free: 7.57 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.483, allocations: 83.88 kB / 0.62 GB, free: 7.488 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00195/0.485, allocations: 1.564 MB / 0.6215 GB, free: 5.922 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00852/0.4935, allocations: 4.127 MB / 0.6256 GB, free: 1.793 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03698/0.5305, allocations: 20.25 MB / 0.6453 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001762/0.5322, allocations: 334.2 kB / 0.6456 GB, free: 12.93 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001459/0.5324, allocations: 60.91 kB / 0.6457 GB, free: 12.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005451/0.5378, allocations: 1.932 MB / 0.6476 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.432e-05/0.5379, allocations: 105.8 kB / 0.6477 GB, free: 10.79 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 3.035e-06/0.5379, allocations: 4 kB / 0.6477 GB, free: 10.79 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001754/0.5397, allocations: 0.8825 MB / 0.6486 GB, free: 9.895 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.084e-05/0.5397, allocations: 126.7 kB / 0.6487 GB, free: 9.758 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02436/0.5641, allocations: 10.55 MB / 0.659 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.5641, allocations: 29.69 kB / 0.659 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.009057/0.5732, allocations: 5.954 MB / 0.6648 GB, free: 9.238 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.5734, allocations: 95.84 kB / 0.6649 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001655/0.5751, allocations: 0.8222 MB / 0.6657 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5752, allocations: 313.1 kB / 0.666 GB, free: 8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.5766, allocations: 0.7577 MB / 0.6668 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004598/0.5812, allocations: 3.999 MB / 0.6707 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007185/0.5884, allocations: 5.197 MB / 0.6757 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/0.5885, allocations: 32 kB / 0.6758 GB, free: 10.67 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01055/0.5991, allocations: 4.96 MB / 0.6806 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001445/0.5992, allocations: 56 kB / 0.6807 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002329/0.5995, allocations: 124.2 kB / 0.6808 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002061/0.5997, allocations: 148 kB / 0.6809 GB, free: 5.379 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.6025, allocations: 0.9825 MB / 0.6819 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002234/0.6027, allocations: 227.1 kB / 0.6821 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004371/0.6071, allocations: 0.6282 MB / 0.6827 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005727/0.6077, allocations: 288 kB / 0.683 GB, free: 3.258 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.006069/0.6138, allocations: 3.409 MB / 0.6863 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001665/0.6154, allocations: 0.9561 MB / 0.6873 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00229/0.6177, allocations: 1.026 MB / 0.6883 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.966e-05/0.6178, allocations: 180.3 kB / 0.6884 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-05/0.6179, allocations: 184.3 kB / 0.6886 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.369e-05/0.618, allocations: 184.1 kB / 0.6888 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/0.6302, allocations: 5.102 MB / 0.6938 GB, free: 8.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.832e-05/0.6303, allocations: 104.9 kB / 0.6939 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.735e-05/0.6304, allocations: 101 kB / 0.694 GB, free: 7.891 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.601e-05/0.6304, allocations: 188.2 kB / 0.6941 GB, free: 7.699 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.801e-05/0.6305, allocations: 180.2 kB / 0.6943 GB, free: 7.516 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.809e-05/0.6306, allocations: 176.3 kB / 0.6945 GB, free: 7.336 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.799e-05/0.6307, allocations: 188.1 kB / 0.6947 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001788/0.6325, allocations: 1.203 MB / 0.6958 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/0.6348, allocations: 0.8739 MB / 0.6967 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0012/0.636, allocations: 180.3 kB / 0.6969 GB, free: 4.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.6374, allocations: 104.9 kB / 0.697 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.839e-05/0.6375, allocations: 180.2 kB / 0.6971 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.844e-05/0.6376, allocations: 105 kB / 0.6972 GB, free: 4.438 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01618/0.6537, allocations: 7.15 MB / 0.7042 GB, free: 13.34 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.91e-07/0.6537, allocations: 0 / 0.7042 GB, free: 13.34 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005576/0.6593, allocations: 1.137 MB / 0.7053 GB, free: 12.2 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.002703/0.662, allocations: 1.748 MB / 0.707 GB, free: 10.41 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003776/0.6658, allocations: 1.804 MB / 0.7088 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.6658, allocations: 0 / 0.7088 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.388e-06/0.6658, allocations: 0 / 0.7088 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01733/0.6831, allocations: 3.452 MB / 0.7122 GB, free: 5.172 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6917/1.375, allocations: 62.45 MB / 0.7732 GB, free: 112.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009558/1.384, allocations: 5.27 MB / 0.7783 GB, free: 107.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006691/1.391, allocations: 2.097 MB / 0.7803 GB, free: 105.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005287/1.396, allocations: 4.053 MB / 0.7843 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of SimCode: time 1.694e-06/1.396, allocations: 0 / 0.7843 GB, free: 101.6 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2725/1.669, allocations: 158 MB / 0.9386 GB, free: 8.785 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 44.68/46.35, allocations: 3.938 kB / 0.9387 GB, free: 8.781 MB / 0.6232 GB " [Timeout remaining time 613] (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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 51.09279215300921]