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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001793/0.001793, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002112/0.002112, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.492/1.492, allocations: 227.4 MB / 246.8 MB, free: 10.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.243/0.243, allocations: 46.11 MB / 344.2 MB, free: 11.59 MB / 286.1 MB 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.002704/0.002704, allocations: 81.42 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1306/0.1333, allocations: 62.45 MB / 480.2 MB, free: 5.156 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01236/0.1457, allocations: 10.36 MB / 490.6 MB, free: 10.74 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007354/0.1531, allocations: 3.079 MB / 493.6 MB, free: 7.652 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001699/0.1548, allocations: 67.81 kB / 493.7 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005142/0.16, allocations: 2.683 MB / 496.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.1628, allocations: 1.027 MB / 497.4 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007291/0.1636, allocations: 263.5 kB / 497.7 MB, free: 3.605 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002103/0.1657, allocations: 1.513 MB / 499.2 MB, free: 2.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002846/0.1685, allocations: 2.433 MB / 0.4899 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001477/0.17, allocations: 0.9498 MB / 0.4908 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/0.1745, allocations: 3.316 MB / 0.494 GB, free: 11.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004969/0.175, allocations: 188 kB / 0.4942 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007726/0.1758, allocations: 271.8 kB / 0.4945 GB, free: 10.9 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002452/0.1783, allocations: 2.911 MB / 0.4973 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003163/0.1815, allocations: 3.337 MB / 0.5006 GB, free: 4.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2331/0.4146, allocations: 9.208 MB / 0.5096 GB, free: 21.29 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.626e-06/0.4146, allocations: 3.406 kB / 0.5096 GB, free: 21.29 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.4146, allocations: 2 kB / 0.5096 GB, free: 21.29 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003951/0.415, allocations: 0 / 0.5096 GB, free: 21.29 MB / 382.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.02014/0.4352, allocations: 8.768 MB / 0.5181 GB, free: 16.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.4353, allocations: 10.44 kB / 0.5181 GB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001572/0.4368, allocations: 0.6149 MB / 0.5187 GB, free: 16.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/0.4389, allocations: 0.9703 MB / 0.5197 GB, free: 16.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007199/0.4461, allocations: 3.721 MB / 0.5233 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.4463, allocations: 132.9 kB / 0.5235 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002858/0.4466, allocations: 166 kB / 0.5236 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01038/0.457, allocations: 6.604 MB / 0.5301 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/0.457, allocations: 5.562 kB / 0.5301 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/0.4572, allocations: 78.62 kB / 0.5301 GB, free: 11.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001516/0.4587, allocations: 1.559 MB / 0.5317 GB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007081/0.4658, allocations: 4.138 MB / 0.5357 GB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03099/0.4968, allocations: 20.39 MB / 0.5556 GB, free: 7.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001622/0.4985, allocations: 342.1 kB / 0.5559 GB, free: 7.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.4986, allocations: 68.52 kB / 0.556 GB, free: 7.254 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006007/0.5046, allocations: 3.258 MB / 0.5592 GB, free: 3.645 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/0.5047, allocations: 105.8 kB / 0.5593 GB, free: 3.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.413e-06/0.5047, allocations: 4.234 kB / 0.5593 GB, free: 3.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 0.001198/0.5059, allocations: 0.8386 MB / 0.5601 GB, free: 2.676 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.066e-05/0.506, allocations: 130.4 kB / 0.5602 GB, free: 2.539 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02109/0.5271, allocations: 10.54 MB / 0.5705 GB, free: 8.055 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.5272, allocations: 25.7 kB / 0.5706 GB, free: 8.023 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007473/0.5347, allocations: 5.836 MB / 0.5763 GB, free: 2.195 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.5349, allocations: 91.91 kB / 0.5763 GB, free: 2.105 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001074/0.536, allocations: 0.8174 MB / 0.5771 GB, free: 1.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.5361, allocations: 313.1 kB / 0.5774 GB, free: 0.9648 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001255/0.5374, allocations: 0.7577 MB / 0.5782 GB, free: 204 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004246/0.5416, allocations: 3.997 MB / 0.5821 GB, free: 10.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006051/0.5477, allocations: 5.2 MB / 0.5872 GB, free: 4.207 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.886e-05/0.5478, allocations: 32 kB / 0.5872 GB, free: 4.176 MB / 430.1 MB Notification: Performance of matching and sorting (n=537) (initialization): time 0.009918/0.5578, allocations: 4.922 MB / 0.592 GB, free: 15.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.3e-05/0.5579, allocations: 58.81 kB / 0.5921 GB, free: 15.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001233/0.558, allocations: 124.1 kB / 0.5922 GB, free: 15.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001469/0.5582, allocations: 148 kB / 0.5923 GB, free: 15.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/0.5607, allocations: 0.9864 MB / 0.5933 GB, free: 14.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001902/0.5609, allocations: 228 kB / 0.5935 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004349/0.5653, allocations: 0.5936 MB / 0.5941 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000388/0.5657, allocations: 292 kB / 0.5944 GB, free: 13.26 MB / 446.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.006782/0.5725, allocations: 3.409 MB / 0.5977 GB, free: 9.836 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002139/0.5746, allocations: 0.9081 MB / 0.5986 GB, free: 8.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002878/0.5775, allocations: 1.023 MB / 0.5996 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001037/0.5777, allocations: 182 kB / 0.5997 GB, free: 7.695 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.04e-05/0.5777, allocations: 176.3 kB / 0.5999 GB, free: 7.516 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.5e-05/0.5779, allocations: 188.2 kB / 0.6001 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01143/0.5893, allocations: 5.134 MB / 0.6051 GB, free: 2.125 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.176e-05/0.5894, allocations: 104.9 kB / 0.6052 GB, free: 2.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.626e-05/0.5894, allocations: 101 kB / 0.6053 GB, free: 1.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-05/0.5895, allocations: 186.2 kB / 0.6055 GB, free: 1.723 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.949e-05/0.5896, allocations: 188.2 kB / 0.6057 GB, free: 1.531 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.326e-05/0.5897, allocations: 176.3 kB / 0.6058 GB, free: 1.352 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.711e-05/0.5898, allocations: 185.6 kB / 0.606 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002245/0.592, allocations: 1.151 MB / 0.6071 GB, free: 15.98 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001875/0.5939, allocations: 0.9052 MB / 0.608 GB, free: 15.04 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006292/0.5946, allocations: 184.9 kB / 0.6082 GB, free: 14.85 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008188/0.5954, allocations: 104.9 kB / 0.6083 GB, free: 14.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.721e-05/0.5955, allocations: 176.3 kB / 0.6085 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.744e-05/0.5956, allocations: 101 kB / 0.6086 GB, free: 14.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.01339/0.609, allocations: 7.148 MB / 0.6155 GB, free: 7.359 MB / 462.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.609, allocations: 3.938 kB / 0.6155 GB, free: 7.355 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005599/0.6146, allocations: 1.124 MB / 0.6166 GB, free: 6.227 MB / 462.1 MB 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.002343/0.617, allocations: 1.707 MB / 0.6183 GB, free: 4.48 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003234/0.6202, allocations: 1.867 MB / 0.6201 GB, free: 2.641 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6202, allocations: 4 kB / 0.6201 GB, free: 2.637 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 2.525e-06/0.6203, allocations: 0 / 0.6201 GB, free: 2.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01441/0.6347, allocations: 3.452 MB / 0.6235 GB, free: 15.19 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3734/1.008, allocations: 94.39 MB / 0.7157 GB, free: 190.7 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01181/1.02, allocations: 5.271 MB / 0.7208 GB, free: 189.7 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007718/1.028, allocations: 2.1 MB / 0.7229 GB, free: 189.5 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005702/1.033, allocations: 4.06 MB / 0.7268 GB, free: 186.1 MB / 0.545 GB Notification: Performance of SimCode: time 1.763e-06/1.033, allocations: 0 / 0.7268 GB, free: 186.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2256/1.259, allocations: 161.1 MB / 0.8842 GB, free: 34.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.77, allocations: 13.33 kB / 0.8842 GB, free: 34.43 MB / 0.545 GB (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 --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)