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.001718/0.001718, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002228/0.002228, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 247 MB, free: 10.45 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.237/0.237, allocations: 46.12 MB / 344.3 MB, free: 11.47 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.00329/0.00329, allocations: 83.86 kB / 480.9 MB, free: 4.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3733/0.3766, allocations: 62.45 MB / 0.5306 GB, free: 13.39 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Visualizers.ColorMaps): time 0.01434/0.391, allocations: 10.37 MB / 0.5407 GB, free: 5.246 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008797/0.3998, allocations: 3.07 MB / 0.5437 GB, free: 2.84 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.4026, allocations: 66.44 kB / 0.5438 GB, free: 2.828 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005908/0.4086, allocations: 2.683 MB / 0.5464 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003428/0.412, allocations: 1.029 MB / 0.5474 GB, free: 308 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001002/0.4131, allocations: 261 kB / 0.5477 GB, free: 132 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003095/0.4162, allocations: 1.514 MB / 0.5491 GB, free: 14.71 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003459/0.4197, allocations: 2.456 MB / 0.5515 GB, free: 12.22 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001762/0.4215, allocations: 0.9343 MB / 0.5524 GB, free: 11.29 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004807/0.4263, allocations: 3.316 MB / 0.5557 GB, free: 7.961 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007068/0.4271, allocations: 188 kB / 0.5559 GB, free: 7.777 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001012/0.4281, allocations: 271.8 kB / 0.5561 GB, free: 7.512 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002952/0.4311, allocations: 2.927 MB / 0.559 GB, free: 4.578 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004499/0.4356, allocations: 3.329 MB / 0.5622 GB, free: 1.223 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01249/0.4481, allocations: 9.805 MB / 0.5718 GB, free: 7.367 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.878e-06/0.4482, allocations: 0 / 0.5718 GB, free: 7.367 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.729e-06/0.4482, allocations: 7.938 kB / 0.5718 GB, free: 7.359 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003437/0.4486, allocations: 0 / 0.5718 GB, free: 7.359 MB / 430.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.01778/0.4663, allocations: 9.11 MB / 0.5807 GB, free: 14.13 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.673e-05/0.4664, allocations: 8.031 kB / 0.5807 GB, free: 14.12 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001662/0.4681, allocations: 0.6195 MB / 0.5813 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001858/0.47, allocations: 1.028 MB / 0.5823 GB, free: 12.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007506/0.4775, allocations: 3.827 MB / 0.5861 GB, free: 8.562 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001396/0.4777, allocations: 135.3 kB / 0.5862 GB, free: 8.43 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/0.478, allocations: 160 kB / 0.5863 GB, free: 8.273 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.4891, allocations: 6.608 MB / 0.5928 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.704e-05/0.4892, allocations: 15.92 kB / 0.5928 GB, free: 1.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/0.4893, allocations: 67.95 kB / 0.5929 GB, free: 1.402 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001909/0.4913, allocations: 1.561 MB / 0.5944 GB, free: 15.84 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008285/0.4996, allocations: 4.137 MB / 0.5984 GB, free: 11.7 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03622/0.5358, allocations: 20.32 MB / 0.6183 GB, free: 7.129 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/0.5375, allocations: 334.2 kB / 0.6186 GB, free: 6.793 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001408/0.5377, allocations: 60.92 kB / 0.6187 GB, free: 6.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006286/0.544, allocations: 3.273 MB / 0.6219 GB, free: 3.094 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.143e-05/0.5441, allocations: 121.8 kB / 0.622 GB, free: 2.965 MB / 478.1 MB Notification: Performance of pre-optimization done (n=0): time 1.944e-06/0.5441, allocations: 0 / 0.622 GB, free: 2.965 MB / 478.1 MB Notification: Performance of matching and sorting (n=0): time 0.001618/0.5458, allocations: 0.8786 MB / 0.6228 GB, free: 2.074 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.5459, allocations: 126.7 kB / 0.6229 GB, free: 1.938 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02263/0.5685, allocations: 10.55 MB / 0.6332 GB, free: 7.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.225e-05/0.5686, allocations: 25.7 kB / 0.6333 GB, free: 7.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007698/0.5763, allocations: 5.958 MB / 0.6391 GB, free: 1.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001913/0.5765, allocations: 95.84 kB / 0.6392 GB, free: 1.328 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.5777, allocations: 0.83 MB / 0.64 GB, free: 496 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.5778, allocations: 305.1 kB / 0.6403 GB, free: 188 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.579, allocations: 0.7616 MB / 0.641 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00419/0.5832, allocations: 3.999 MB / 0.6449 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00652/0.5898, allocations: 5.197 MB / 0.65 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001057/0.5899, allocations: 36 kB / 0.65 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=537) (initialization): time 0.01028/0.6002, allocations: 4.968 MB / 0.6549 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/0.6004, allocations: 56 kB / 0.6549 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001658/0.6006, allocations: 116 kB / 0.6551 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001617/0.6007, allocations: 152 kB / 0.6552 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002779/0.6035, allocations: 0.9786 MB / 0.6562 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002059/0.6038, allocations: 231.1 kB / 0.6564 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/0.6083, allocations: 0.6205 MB / 0.657 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006239/0.609, allocations: 284 kB / 0.6573 GB, free: 11.43 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.006236/0.6152, allocations: 3.405 MB / 0.6606 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001639/0.6169, allocations: 0.96 MB / 0.6615 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/0.6194, allocations: 1.03 MB / 0.6625 GB, free: 6.004 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.691e-05/0.6195, allocations: 180.3 kB / 0.6627 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-05/0.6195, allocations: 176.3 kB / 0.6629 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.452e-05/0.6196, allocations: 184.1 kB / 0.663 GB, free: 5.453 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01099/0.6306, allocations: 5.131 MB / 0.668 GB, free: 260 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.594e-05/0.6307, allocations: 120.9 kB / 0.6682 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.603e-05/0.6308, allocations: 101 kB / 0.6683 GB, free: 24 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.331e-05/0.6309, allocations: 180.3 kB / 0.6684 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.124e-05/0.631, allocations: 180.2 kB / 0.6686 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.05e-05/0.6311, allocations: 184.2 kB / 0.6688 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.622e-05/0.6311, allocations: 180.2 kB / 0.669 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.6328, allocations: 1.199 MB / 0.6701 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/0.6348, allocations: 0.9453 MB / 0.671 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008509/0.6356, allocations: 180.2 kB / 0.6712 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009637/0.6366, allocations: 104.9 kB / 0.6713 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.6367, allocations: 184.3 kB / 0.6715 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.887e-05/0.6368, allocations: 104.9 kB / 0.6716 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.01444/0.6512, allocations: 7.15 MB / 0.6786 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3e-07/0.6513, allocations: 0 / 0.6786 GB, free: 5.391 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.005503/0.6568, allocations: 1.141 MB / 0.6797 GB, free: 4.246 MB / 0.5294 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.002413/0.6592, allocations: 1.748 MB / 0.6814 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003696/0.663, allocations: 1.867 MB / 0.6832 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.663, allocations: 320 / 0.6832 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.663, allocations: 4 kB / 0.6832 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.016/0.679, allocations: 3.443 MB / 0.6866 GB, free: 13.16 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6836/1.363, allocations: 62.45 MB / 0.7476 GB, free: 158 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009343/1.372, allocations: 5.278 MB / 0.7527 GB, free: 155.3 MB / 0.5763 GB Notification: Performance of simCode: alias equations: time 0.006418/1.379, allocations: 2.098 MB / 0.7548 GB, free: 154.6 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005355/1.384, allocations: 4.062 MB / 0.7587 GB, free: 150.9 MB / 0.5763 GB Notification: Performance of SimCode: time 1.052e-06/1.384, allocations: 3.469 kB / 0.7587 GB, free: 150.9 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2101/1.594, allocations: 154.3 MB / 0.9094 GB, free: 0.8281 MB / 0.5763 GB Notification: Performance of buildModelFMU: Generate platform static: time 38.27/39.87, allocations: 12.98 kB / 0.9095 GB, free: 0.8203 MB / 0.5763 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)