Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001795/0.001795, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002255/0.002255, allocations: 210.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.587/1.587, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2699/0.2699, allocations: 46.92 MB / 360.8 MB, free: 4.207 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002543/0.002543, allocations: 75.88 kB / 0.4962 GB, free: 7.781 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3693, allocations: 66.09 MB / 0.5607 GB, free: 4.301 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01401/0.3834, allocations: 10.42 MB / 0.5709 GB, free: 9.832 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008524/0.3919, allocations: 3.097 MB / 0.5739 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002708/0.3946, allocations: 79.62 kB / 0.574 GB, free: 6.648 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006553/0.4011, allocations: 2.73 MB / 0.5767 GB, free: 3.91 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.405, allocations: 1.136 MB / 0.5778 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001155/0.4062, allocations: 255.6 kB / 0.578 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003588/0.4098, allocations: 1.521 MB / 0.5795 GB, free: 0.9922 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003761/0.4135, allocations: 1.913 MB / 0.5814 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002058/0.4156, allocations: 0.9343 MB / 0.5823 GB, free: 14.1 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00616/0.4218, allocations: 3.431 MB / 0.5856 GB, free: 10.66 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.4228, allocations: 195.9 kB / 0.5858 GB, free: 10.47 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00149/0.4243, allocations: 275.8 kB / 0.5861 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003603/0.4279, allocations: 3.009 MB / 0.589 GB, free: 7.184 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005276/0.4332, allocations: 3.333 MB / 0.5923 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01407/0.4472, allocations: 9.87 MB / 0.6019 GB, free: 9.902 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.048e-05/0.4472, allocations: 0 / 0.6019 GB, free: 9.902 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.4472, allocations: 8 kB / 0.6019 GB, free: 9.895 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0004841/0.4477, allocations: 0 / 0.6019 GB, free: 9.895 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.02102/0.4687, allocations: 9.039 MB / 0.6108 GB, free: 0.7617 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.4688, allocations: 12.03 kB / 0.6108 GB, free: 0.75 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001528/0.4703, allocations: 0.6196 MB / 0.6114 GB, free: 124 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001842/0.4722, allocations: 1.028 MB / 0.6124 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007291/0.4795, allocations: 3.731 MB / 0.616 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.4796, allocations: 131.1 kB / 0.6161 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005337/0.4801, allocations: 167.9 kB / 0.6163 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0113/0.4915, allocations: 6.608 MB / 0.6228 GB, free: 4.215 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.651e-05/0.4915, allocations: 11.88 kB / 0.6228 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000301/0.4918, allocations: 79.94 kB / 0.6229 GB, free: 4.125 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001875/0.4937, allocations: 1.564 MB / 0.6244 GB, free: 2.559 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00849/0.5022, allocations: 4.129 MB / 0.6284 GB, free: 14.43 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03521/0.5374, allocations: 20.24 MB / 0.6482 GB, free: 9.902 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.5391, allocations: 338.2 kB / 0.6485 GB, free: 9.562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001259/0.5392, allocations: 62.84 kB / 0.6486 GB, free: 9.5 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005287/0.5445, allocations: 1.932 MB / 0.6504 GB, free: 7.543 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.971e-05/0.5446, allocations: 109.8 kB / 0.6506 GB, free: 7.426 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.894e-06/0.5446, allocations: 0 / 0.6506 GB, free: 7.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001684/0.5463, allocations: 0.8825 MB / 0.6514 GB, free: 6.531 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.477e-05/0.5463, allocations: 126.7 kB / 0.6515 GB, free: 6.395 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02034/0.5667, allocations: 10.56 MB / 0.6618 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.5667, allocations: 29.7 kB / 0.6619 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.007367/0.5741, allocations: 5.95 MB / 0.6677 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001922/0.5743, allocations: 91.91 kB / 0.6678 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/0.5754, allocations: 0.8261 MB / 0.6686 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000158/0.5756, allocations: 305.1 kB / 0.6689 GB, free: 4.645 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.5768, allocations: 0.7577 MB / 0.6696 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004363/0.5812, allocations: 4.003 MB / 0.6735 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006608/0.5878, allocations: 5.201 MB / 0.6786 GB, free: 7.336 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.809e-05/0.5878, allocations: 32 kB / 0.6786 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009751/0.5976, allocations: 4.96 MB / 0.6835 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.547e-05/0.5977, allocations: 56 kB / 0.6835 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001556/0.5979, allocations: 116 kB / 0.6836 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00016/0.598, allocations: 155.9 kB / 0.6838 GB, free: 2.016 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/0.6007, allocations: 0.9902 MB / 0.6848 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000193/0.6009, allocations: 223.2 kB / 0.685 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004053/0.6049, allocations: 0.6248 MB / 0.6856 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005215/0.6055, allocations: 292 kB / 0.6859 GB, free: 15.89 MB / 0.5294 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.005862/0.6113, allocations: 3.405 MB / 0.6892 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001537/0.6129, allocations: 0.9561 MB / 0.6901 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002457/0.6153, allocations: 1.026 MB / 0.6911 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.492e-05/0.6154, allocations: 176.3 kB / 0.6913 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.624e-05/0.6155, allocations: 184.2 kB / 0.6915 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.592e-05/0.6156, allocations: 180.2 kB / 0.6916 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01069/0.6263, allocations: 5.11 MB / 0.6966 GB, free: 4.746 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.644e-05/0.6263, allocations: 104.9 kB / 0.6967 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.408e-05/0.6264, allocations: 101 kB / 0.6968 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.713e-05/0.6265, allocations: 184.2 kB / 0.697 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.262e-05/0.6266, allocations: 180.3 kB / 0.6972 GB, free: 4.16 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.33e-05/0.6266, allocations: 188.2 kB / 0.6973 GB, free: 3.969 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.555e-05/0.6267, allocations: 176.3 kB / 0.6975 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001469/0.6282, allocations: 1.199 MB / 0.6987 GB, free: 2.559 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001916/0.6301, allocations: 0.8701 MB / 0.6995 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009306/0.6311, allocations: 184.2 kB / 0.6997 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.6321, allocations: 105 kB / 0.6998 GB, free: 1.379 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001009/0.6322, allocations: 176.3 kB / 0.7 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.187e-05/0.6322, allocations: 104.9 kB / 0.7001 GB, free: 1.09 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01406/0.6463, allocations: 7.146 MB / 0.7071 GB, free: 9.996 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6463, allocations: 0 / 0.7071 GB, free: 9.996 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005288/0.6516, allocations: 1.149 MB / 0.7082 GB, free: 8.844 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.002425/0.654, allocations: 1.744 MB / 0.7099 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003702/0.6577, allocations: 1.804 MB / 0.7116 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6577, allocations: 0 / 0.7116 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/0.6577, allocations: 0 / 0.7116 GB, free: 5.285 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01325/0.6709, allocations: 3.459 MB / 0.715 GB, free: 1.812 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.611/1.282, allocations: 62.45 MB / 0.776 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007303/1.289, allocations: 5.276 MB / 0.7812 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.005921/1.295, allocations: 2.095 MB / 0.7832 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004814/1.3, allocations: 4.055 MB / 0.7872 GB, free: 98.66 MB / 0.5607 GB Notification: Performance of SimCode: time 1.663e-06/1.3, allocations: 0 / 0.7872 GB, free: 98.66 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2444/1.544, allocations: 157.9 MB / 0.9414 GB, free: 5.738 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 40.27/41.81, allocations: 7.812 kB / 0.9414 GB, free: 5.734 MB / 0.6232 GB " [Timeout remaining time 618] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Visualizers/ColorMaps/ColorMaps.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 45.75107768597081]