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.001907/0.001907, 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.002388/0.002388, 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.512/1.512, allocations: 230.6 MB / 257.5 MB, free: 7.781 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.2223/0.2223, allocations: 44.93 MB / 358.8 MB, free: 6.012 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.002249/0.002249, allocations: 67.91 kB / 0.493 GB, free: 10.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3071, allocations: 65.47 MB / 0.557 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01261/0.3197, allocations: 9.078 MB / 0.5658 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00715/0.3269, allocations: 2.945 MB / 0.5687 GB, free: 11.44 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001683/0.3286, allocations: 79.62 kB / 0.5688 GB, free: 11.36 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005758/0.3343, allocations: 2.597 MB / 0.5713 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003091/0.3374, allocations: 1.12 MB / 0.5724 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008701/0.3383, allocations: 275.5 kB / 0.5727 GB, free: 7.359 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002376/0.3407, allocations: 1.506 MB / 0.5741 GB, free: 5.848 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002654/0.3433, allocations: 1.906 MB / 0.576 GB, free: 3.902 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001583/0.3449, allocations: 0.9304 MB / 0.5769 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004711/0.3496, allocations: 3.325 MB / 0.5802 GB, free: 15.64 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006848/0.3503, allocations: 188 kB / 0.5803 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009431/0.3512, allocations: 267.8 kB / 0.5806 GB, free: 15.19 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002826/0.3541, allocations: 3.009 MB / 0.5835 GB, free: 12.17 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003305/0.3574, allocations: 2.258 MB / 0.5857 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01083/0.3682, allocations: 9.948 MB / 0.5954 GB, free: 15.9 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3682, allocations: 0 / 0.5954 GB, free: 15.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3682, allocations: 0 / 0.5954 GB, free: 15.9 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002756/0.3685, allocations: 0 / 0.5954 GB, free: 15.9 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.01433/0.3828, allocations: 9.05 MB / 0.6043 GB, free: 6.754 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/0.3829, allocations: 8.031 kB / 0.6043 GB, free: 6.746 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009459/0.3838, allocations: 0.6157 MB / 0.6049 GB, free: 6.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001266/0.3851, allocations: 1.028 MB / 0.6059 GB, free: 5.086 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006651/0.3917, allocations: 3.743 MB / 0.6095 GB, free: 1.285 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.3918, allocations: 139.3 kB / 0.6097 GB, free: 1.148 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002774/0.3921, allocations: 163.9 kB / 0.6098 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009222/0.4013, allocations: 6.608 MB / 0.6163 GB, free: 10.2 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.287e-05/0.4014, allocations: 11.92 kB / 0.6163 GB, free: 10.19 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001573/0.4015, allocations: 75.94 kB / 0.6164 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001808/0.4033, allocations: 1.561 MB / 0.6179 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007907/0.4112, allocations: 4.129 MB / 0.6219 GB, free: 4.418 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03058/0.4418, allocations: 19.22 MB / 0.6407 GB, free: 0.9141 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.4434, allocations: 338.2 kB / 0.641 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.4435, allocations: 59.8 kB / 0.6411 GB, free: 0.5156 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004934/0.4484, allocations: 1.796 MB / 0.6428 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.498e-05/0.4485, allocations: 113.9 kB / 0.6429 GB, free: 14.57 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.984e-06/0.4485, allocations: 0 / 0.6429 GB, free: 14.57 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001211/0.4497, allocations: 0.8786 MB / 0.6438 GB, free: 13.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/0.4498, allocations: 130.7 kB / 0.6439 GB, free: 13.54 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01695/0.4667, allocations: 10.74 MB / 0.6544 GB, free: 2.852 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.4668, allocations: 25.7 kB / 0.6544 GB, free: 2.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.006182/0.4729, allocations: 5.95 MB / 0.6603 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.4731, allocations: 95.89 kB / 0.6603 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009738/0.4741, allocations: 0.8261 MB / 0.6612 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.4742, allocations: 309 kB / 0.6614 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001122/0.4753, allocations: 0.7615 MB / 0.6622 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00401/0.4793, allocations: 3.999 MB / 0.6661 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00582/0.4851, allocations: 5.205 MB / 0.6712 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-05/0.4852, allocations: 32 kB / 0.6712 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.0102/0.4954, allocations: 4.964 MB / 0.6761 GB, free: 9.281 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001062/0.4955, allocations: 56 kB / 0.6761 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/0.4957, allocations: 120 kB / 0.6762 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001724/0.4959, allocations: 152.8 kB / 0.6764 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002684/0.4986, allocations: 0.9863 MB / 0.6773 GB, free: 7.973 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001993/0.4988, allocations: 231.1 kB / 0.6776 GB, free: 7.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/0.5031, allocations: 0.6126 MB / 0.6782 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/0.5036, allocations: 287.9 kB / 0.6784 GB, free: 6.852 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.005425/0.509, allocations: 3.409 MB / 0.6818 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001433/0.5104, allocations: 0.9599 MB / 0.6827 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001869/0.5123, allocations: 1.026 MB / 0.6837 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.799e-05/0.5124, allocations: 184.2 kB / 0.6839 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.226e-05/0.5124, allocations: 188.2 kB / 0.6841 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.36e-05/0.5125, allocations: 176.3 kB / 0.6842 GB, free: 0.8633 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009167/0.5217, allocations: 4.982 MB / 0.6891 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.902e-05/0.5218, allocations: 105 kB / 0.6892 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.362e-05/0.5218, allocations: 104.9 kB / 0.6893 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.547e-05/0.5219, allocations: 180.3 kB / 0.6895 GB, free: 11.42 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-05/0.522, allocations: 188.2 kB / 0.6896 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.149e-05/0.5221, allocations: 180.2 kB / 0.6898 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.218e-05/0.5222, allocations: 176.3 kB / 0.69 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001642/0.5238, allocations: 1.203 MB / 0.6912 GB, free: 9.629 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002106/0.5259, allocations: 0.87 MB / 0.692 GB, free: 8.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008959/0.5268, allocations: 184.2 kB / 0.6922 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009507/0.5278, allocations: 105 kB / 0.6923 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.5279, allocations: 180.2 kB / 0.6924 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/0.5279, allocations: 101 kB / 0.6925 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01359/0.5415, allocations: 7.142 MB / 0.6995 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5415, allocations: 4 kB / 0.6995 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.004487/0.546, allocations: 1.141 MB / 0.7006 GB, free: 15.92 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.001931/0.5479, allocations: 1.752 MB / 0.7023 GB, free: 14.13 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003144/0.5511, allocations: 1.805 MB / 0.7041 GB, free: 12.36 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5511, allocations: 4.062 kB / 0.7041 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.5511, allocations: 0 / 0.7041 GB, free: 12.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01375/0.5648, allocations: 3.446 MB / 0.7075 GB, free: 8.895 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5334/1.098, allocations: 62.45 MB / 0.7685 GB, free: 120 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004473/1.103, allocations: 4.822 MB / 0.7732 GB, free: 115.1 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.004918/1.108, allocations: 2.096 MB / 0.7752 GB, free: 113.3 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003344/1.111, allocations: 4.061 MB / 0.7792 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of SimCode: time 1.142e-06/1.111, allocations: 0 / 0.7792 GB, free: 109.2 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2327/1.344, allocations: 162.7 MB / 0.938 GB, free: 12.23 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.11/31.46, allocations: 4.062 kB / 0.938 GB, free: 12.22 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 & /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: 35.23102952120826]