Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001604/0.001604, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002101/0.002101, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.471/1.471, allocations: 230.5 MB / 258.2 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2312/0.2312, allocations: 46.93 MB / 361.6 MB, free: 4.215 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002363/0.002363, allocations: 76.2 kB / 0.497 GB, free: 7.797 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3229, allocations: 66.09 MB / 0.5615 GB, free: 4.316 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01245/0.3353, allocations: 10.43 MB / 0.5717 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007279/0.3426, allocations: 3.109 MB / 0.5747 GB, free: 6.723 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.3445, allocations: 79.62 kB / 0.5748 GB, free: 6.645 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005482/0.35, allocations: 2.722 MB / 0.5775 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003339/0.3533, allocations: 1.128 MB / 0.5786 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008952/0.3542, allocations: 267.5 kB / 0.5788 GB, free: 2.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00261/0.3568, allocations: 1.509 MB / 0.5803 GB, free: 1.004 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002617/0.3594, allocations: 1.921 MB / 0.5822 GB, free: 15.04 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001425/0.3609, allocations: 0.9265 MB / 0.5831 GB, free: 14.11 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004898/0.3658, allocations: 3.435 MB / 0.5864 GB, free: 10.67 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004837/0.3662, allocations: 188 kB / 0.5866 GB, free: 10.49 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006866/0.3669, allocations: 283.8 kB / 0.5869 GB, free: 10.21 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002492/0.3694, allocations: 3.009 MB / 0.5898 GB, free: 7.191 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003196/0.3726, allocations: 3.333 MB / 0.5931 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.3827, allocations: 9.874 MB / 0.6027 GB, free: 9.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.204e-06/0.3827, allocations: 0 / 0.6027 GB, free: 9.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3827, allocations: 0 / 0.6027 GB, free: 9.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002866/0.383, allocations: 0 / 0.6027 GB, free: 9.91 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.01591/0.3989, allocations: 9.05 MB / 0.6115 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.82e-05/0.3989, allocations: 12.03 kB / 0.6116 GB, free: 0.7539 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001235/0.4002, allocations: 0.6157 MB / 0.6122 GB, free: 132 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001615/0.4018, allocations: 1.024 MB / 0.6132 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0065/0.4083, allocations: 3.735 MB / 0.6168 GB, free: 11.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.4084, allocations: 139.1 kB / 0.6169 GB, free: 11.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002736/0.4087, allocations: 163.9 kB / 0.6171 GB, free: 11 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009279/0.4179, allocations: 6.608 MB / 0.6235 GB, free: 4.219 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.904e-05/0.418, allocations: 7.938 kB / 0.6236 GB, free: 4.211 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/0.4181, allocations: 75.94 kB / 0.6236 GB, free: 4.137 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001673/0.4198, allocations: 1.557 MB / 0.6251 GB, free: 2.578 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00781/0.4276, allocations: 4.133 MB / 0.6292 GB, free: 14.44 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03071/0.4583, allocations: 20.25 MB / 0.649 GB, free: 9.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001619/0.4599, allocations: 338.2 kB / 0.6493 GB, free: 9.566 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.4601, allocations: 52.83 kB / 0.6493 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00493/0.465, allocations: 1.932 MB / 0.6512 GB, free: 7.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.172e-05/0.465, allocations: 109.9 kB / 0.6513 GB, free: 7.441 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.254e-06/0.465, allocations: 4 kB / 0.6513 GB, free: 7.438 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.001362/0.4664, allocations: 0.8903 MB / 0.6522 GB, free: 6.535 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.4665, allocations: 126.7 kB / 0.6523 GB, free: 6.398 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0195/0.486, allocations: 10.55 MB / 0.6626 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.486, allocations: 25.7 kB / 0.6626 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.006912/0.4929, allocations: 5.954 MB / 0.6685 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001833/0.4931, allocations: 91.91 kB / 0.6685 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001299/0.4944, allocations: 0.8261 MB / 0.6694 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4945, allocations: 313.1 kB / 0.6697 GB, free: 4.648 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.4958, allocations: 0.7616 MB / 0.6704 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004052/0.4998, allocations: 3.995 MB / 0.6743 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005899/0.5057, allocations: 5.197 MB / 0.6794 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.297e-05/0.5058, allocations: 32 kB / 0.6794 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.00908/0.5149, allocations: 4.964 MB / 0.6842 GB, free: 2.344 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.515, allocations: 58.72 kB / 0.6843 GB, free: 2.289 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/0.5152, allocations: 128 kB / 0.6844 GB, free: 2.164 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.5154, allocations: 148 kB / 0.6846 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/0.5181, allocations: 0.9863 MB / 0.6855 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002145/0.5183, allocations: 231.1 kB / 0.6858 GB, free: 0.8047 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003851/0.5221, allocations: 0.6243 MB / 0.6864 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004973/0.5226, allocations: 288 kB / 0.6866 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.005485/0.5281, allocations: 3.398 MB / 0.69 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001713/0.5298, allocations: 0.9599 MB / 0.6909 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002579/0.5324, allocations: 1.023 MB / 0.6919 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.79e-05/0.5325, allocations: 184.2 kB / 0.6921 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.92e-05/0.5326, allocations: 184.3 kB / 0.6922 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.846e-05/0.5327, allocations: 180.3 kB / 0.6924 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.5457, allocations: 5.106 MB / 0.6974 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.093e-05/0.5458, allocations: 101 kB / 0.6975 GB, free: 4.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.5458, allocations: 108.9 kB / 0.6976 GB, free: 4.535 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.484e-05/0.5459, allocations: 180.3 kB / 0.6978 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.995e-05/0.546, allocations: 180.3 kB / 0.6979 GB, free: 4.168 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-05/0.5461, allocations: 184.2 kB / 0.6981 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.688e-05/0.5462, allocations: 176.3 kB / 0.6983 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00194/0.5481, allocations: 1.203 MB / 0.6995 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002672/0.5508, allocations: 0.8661 MB / 0.7003 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001441/0.5522, allocations: 184.2 kB / 0.7005 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/0.5539, allocations: 105 kB / 0.7006 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/0.554, allocations: 180.2 kB / 0.7008 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.543e-05/0.5541, allocations: 109 kB / 0.7009 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01678/0.5709, allocations: 7.146 MB / 0.7078 GB, free: 10 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5709, allocations: 0 / 0.7078 GB, free: 10 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005805/0.5767, allocations: 1.141 MB / 0.709 GB, free: 8.855 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.00251/0.5792, allocations: 1.756 MB / 0.7107 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003627/0.5828, allocations: 1.8 MB / 0.7124 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.5828, allocations: 0 / 0.7124 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 4.208e-06/0.5828, allocations: 0.6875 kB / 0.7124 GB, free: 5.289 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.014/0.5968, allocations: 3.455 MB / 0.7158 GB, free: 1.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6386/1.235, allocations: 62.45 MB / 0.7768 GB, free: 109.8 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008156/1.244, allocations: 5.272 MB / 0.7819 GB, free: 104.5 MB / 0.5607 GB Notification: Performance of simCode: alias equations: time 0.006684/1.25, allocations: 2.094 MB / 0.784 GB, free: 102.7 MB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005635/1.256, allocations: 4.063 MB / 0.7879 GB, free: 98.62 MB / 0.5607 GB Notification: Performance of SimCode: time 2.645e-06/1.256, allocations: 0 / 0.7879 GB, free: 98.62 MB / 0.5607 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2384/1.494, allocations: 157.8 MB / 0.9421 GB, free: 5.777 MB / 0.6232 GB Notification: Performance of buildModelFMU: Generate platform static: time 41.54/43.03, allocations: 7.922 kB / 0.9421 GB, free: 5.77 MB / 0.6232 GB " [Timeout remaining time 617] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=1.9992e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 46.078785761259496] Failed to read output from testmodel.py, exit status != 0: ['time'] 43.212387825828046 43.237028357 42.849349156 Calling exit ...