Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.001328/0.001328, allocations: 104.3 kB / 19.69 MB, free: 1.945 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.001446/0.001446, allocations: 217.9 kB / 23 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.467/1.467, allocations: 207.7 MB / 233.8 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2433/0.2433, allocations: 44.27 MB / 330.3 MB, free: 9.406 MB / 270.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.002312/0.002312, allocations: 66.11 kB / 467.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1272, allocations: 61.05 MB / 0.5162 GB, free: 7.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01218/0.1394, allocations: 9.091 MB / 0.525 GB, free: 14.05 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006921/0.1463, allocations: 2.905 MB / 0.5279 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001987/0.1483, allocations: 79.62 kB / 0.5279 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005624/0.1539, allocations: 2.597 MB / 0.5305 GB, free: 8.457 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003432/0.1574, allocations: 1.121 MB / 0.5316 GB, free: 7.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007948/0.1582, allocations: 263.5 kB / 0.5318 GB, free: 7.074 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002459/0.1606, allocations: 1.525 MB / 0.5333 GB, free: 5.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002726/0.1634, allocations: 1.902 MB / 0.5352 GB, free: 3.602 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001682/0.165, allocations: 0.9382 MB / 0.5361 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2351/0.4001, allocations: 3.316 MB / 0.5393 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001351/0.4015, allocations: 188.4 kB / 0.5395 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.4031, allocations: 270.8 kB / 0.5398 GB, free: 13.12 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003657/0.4068, allocations: 3.014 MB / 0.5427 GB, free: 12.95 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005095/0.4119, allocations: 2.262 MB / 0.5449 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01243/0.4243, allocations: 9.959 MB / 0.5546 GB, free: 9.523 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4243, allocations: 0 / 0.5546 GB, free: 9.523 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4243, allocations: 1.094 kB / 0.5546 GB, free: 9.523 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004077/0.4247, allocations: 0 / 0.5546 GB, free: 9.523 MB / 414.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.02283/0.4475, allocations: 9.041 MB / 0.5635 GB, free: 4.148 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.744e-05/0.4476, allocations: 12.86 kB / 0.5635 GB, free: 4.148 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001742/0.4493, allocations: 0.6174 MB / 0.5641 GB, free: 3.863 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/0.452, allocations: 1.025 MB / 0.5651 GB, free: 3.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009887/0.4619, allocations: 3.751 MB / 0.5687 GB, free: 1.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.462, allocations: 139 kB / 0.5689 GB, free: 1.219 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003398/0.4624, allocations: 166.5 kB / 0.569 GB, free: 1.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01243/0.4748, allocations: 6.76 MB / 0.5756 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.497e-05/0.4749, allocations: 13.25 kB / 0.5757 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.475, allocations: 79.75 kB / 0.5757 GB, free: 15.17 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001615/0.4766, allocations: 1.562 MB / 0.5773 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008454/0.4851, allocations: 4.128 MB / 0.5813 GB, free: 12.88 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03564/0.5207, allocations: 19.22 MB / 0.6001 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/0.5224, allocations: 340 kB / 0.6004 GB, free: 12.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.5225, allocations: 63.61 kB / 0.6004 GB, free: 12.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006595/0.5291, allocations: 1.8 MB / 0.6022 GB, free: 10.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.751e-05/0.5292, allocations: 109.8 kB / 0.6023 GB, free: 10.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.704e-06/0.5292, allocations: 0 / 0.6023 GB, free: 10.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.001656/0.5309, allocations: 0.8748 MB / 0.6032 GB, free: 9.781 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.752e-05/0.531, allocations: 126.7 kB / 0.6033 GB, free: 9.645 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02504/0.556, allocations: 10.77 MB / 0.6138 GB, free: 14.93 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.556, allocations: 25.7 kB / 0.6138 GB, free: 14.9 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.008103/0.5641, allocations: 5.954 MB / 0.6196 GB, free: 8.953 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/0.5643, allocations: 95.91 kB / 0.6197 GB, free: 8.859 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001132/0.5654, allocations: 0.8261 MB / 0.6205 GB, free: 8.02 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.5655, allocations: 309.1 kB / 0.6208 GB, free: 7.715 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.5667, allocations: 0.7644 MB / 0.6216 GB, free: 6.945 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004093/0.5708, allocations: 3.998 MB / 0.6255 GB, free: 1.32 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006575/0.5774, allocations: 5.203 MB / 0.6306 GB, free: 10.95 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001365/0.5776, allocations: 37.81 kB / 0.6306 GB, free: 10.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01073/0.5883, allocations: 4.962 MB / 0.6354 GB, free: 6.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-05/0.5884, allocations: 56 kB / 0.6355 GB, free: 6.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/0.5885, allocations: 116 kB / 0.6356 GB, free: 6.012 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001486/0.5887, allocations: 152.8 kB / 0.6357 GB, free: 5.863 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002783/0.5914, allocations: 0.983 MB / 0.6367 GB, free: 4.879 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002024/0.5916, allocations: 235.1 kB / 0.6369 GB, free: 4.648 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004655/0.5963, allocations: 0.6127 MB / 0.6375 GB, free: 4.031 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005593/0.5969, allocations: 284 kB / 0.6378 GB, free: 3.754 MB / 478.1 MB 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.007595/0.6045, allocations: 3.415 MB / 0.6411 GB, free: 336 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002129/0.6066, allocations: 0.9588 MB / 0.6421 GB, free: 15.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/0.6098, allocations: 1.019 MB / 0.6431 GB, free: 14.33 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-05/0.6098, allocations: 176.3 kB / 0.6432 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.654e-05/0.6099, allocations: 184.8 kB / 0.6434 GB, free: 13.96 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.997e-05/0.61, allocations: 176.3 kB / 0.6436 GB, free: 13.78 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.6232, allocations: 4.989 MB / 0.6485 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-05/0.6232, allocations: 105 kB / 0.6486 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.691e-05/0.6233, allocations: 103.5 kB / 0.6487 GB, free: 8.52 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.458e-05/0.6234, allocations: 188.2 kB / 0.6488 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-05/0.6234, allocations: 176.3 kB / 0.649 GB, free: 8.148 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.157e-05/0.6235, allocations: 180.2 kB / 0.6492 GB, free: 7.965 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.66e-05/0.6236, allocations: 184.3 kB / 0.6493 GB, free: 7.777 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.6258, allocations: 1.2 MB / 0.6505 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002525/0.6284, allocations: 0.8772 MB / 0.6514 GB, free: 5.66 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008526/0.6292, allocations: 188.2 kB / 0.6516 GB, free: 5.469 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008982/0.6301, allocations: 101 kB / 0.6517 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.457e-05/0.6302, allocations: 180.2 kB / 0.6518 GB, free: 5.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.6302, allocations: 109 kB / 0.6519 GB, free: 5.066 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.01466/0.6449, allocations: 7.142 MB / 0.6589 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.6449, allocations: 4 kB / 0.6589 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005268/0.6502, allocations: 1.145 MB / 0.66 GB, free: 12.82 MB / 0.4981 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.00205/0.6522, allocations: 1.749 MB / 0.6617 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00314/0.6554, allocations: 1.803 MB / 0.6635 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6554, allocations: 0 / 0.6635 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.639e-06/0.6554, allocations: 3.938 kB / 0.6635 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01434/0.6697, allocations: 3.453 MB / 0.6669 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1279/0.7976, allocations: 62.47 MB / 0.7279 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008345/0.806, allocations: 4.83 MB / 0.7326 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006472/0.8124, allocations: 2.098 MB / 0.7346 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007149/0.8196, allocations: 4.061 MB / 0.7386 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of SimCode: time 1.442e-06/0.8196, allocations: 0 / 0.7386 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4592/1.279, allocations: 162.5 MB / 0.8973 GB, free: 84.4 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 30.79/32.07, allocations: 11.98 kB / 0.8973 GB, free: 84.39 MB / 0.5919 GB " [Timeout remaining time 628] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps_fmu --startTime=0 --stopTime=0.1 --stepSize=4e-05 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Visualizers_ColorMaps.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Visualizers.ColorMaps.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 35.24081840319559] Failed to read output from testmodel.py, exit status != 0: 32.295281269121915 32.31656118 31.888133445 Calling exit ...